Skip to content

Commit 67a8ceb

Browse files
authored
Update main.yml
1 parent 31295b2 commit 67a8ceb

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,26 @@ jobs:
1010
steps:
1111
- name: Setup MSBuild.exe
1212
uses: warrenbuckley/Setup-MSBuild@v1
13-
13+
env:
14+
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
15+
1416
- name: Setup Nuget.exe
1517
uses: warrenbuckley/Setup-Nuget@v1
16-
18+
env:
19+
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
20+
1721
- uses: actions/checkout@v1
1822
- name: Build
1923
run: |
2024
git submodule update --init --recursive
2125
nuget restore de4dot.sln
2226
msbuild de4dot.sln /p:Configuration=Release /m /verbosity:normal /p:WarningLevel=0
2327
- name: Create ZIP
24-
if: startsWith(github.ref, 'refs/tags/')
2528
run: |
2629
Compress-Archive -Path Release/* -DestinationPath de4dot-cex
27-
28-
- name: Release
29-
uses: softprops/action-gh-release@v1
30-
if: startsWith(github.ref, 'refs/tags/')
30+
31+
- name: Upload Artifact
32+
uses: actions/upload-artifact@v2
3133
with:
32-
files: de4dot-cex.zip
33-
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
path: de4dot-cex.zip
35+
name: de4dot-cex.zip

0 commit comments

Comments
 (0)