-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (29 loc) · 863 Bytes
/
deploy-utils.yml
File metadata and controls
38 lines (29 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Deploy-Utils
on:
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v1.8.2
- name: Build & Publish (bin)
run: dotnet publish -c Release -o bin SuperPatchUtils/SuperPatchUtils.csproj
- name: Publish bin
uses: actions/upload-artifact@v4
with:
name: SuperPatchUtils
path: bin
- name: Prepare zip
run: tar -czvf SuperPatchUtils.tar.gz bin
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: SuperPatchUtils.tar.gz