We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc73cb0 commit 98506eaCopy full SHA for 98506ea
.github/workflows/dotnet.yml
@@ -25,6 +25,7 @@ jobs:
25
uses: codacy/[email protected]
26
27
- name: Build
28
+ id: build
29
run: |
30
dotnet publish --configuration Release --runtime win-x64 --no-self-contained --output publish/magesscripttool-windows-amd64 src/MagesScriptTool
31
dotnet publish --configuration Release --runtime linux-x64 --no-self-contained --output publish/magesscripttool-linux-amd64 src/MagesScriptTool
@@ -40,6 +41,7 @@ jobs:
40
41
42
- name: Create GitHub Release
43
uses: softprops/action-gh-release@v1
44
+ if: steps.build.result == 'success' && ((startsWith(github.ref, 'refs/tags') || github.ref_name == 'master'))
45
with:
46
files: |
47
publish/magesscripttool-linux-amd64.zip
0 commit comments