Skip to content
This repository has been archived by the owner on Dec 21, 2020. It is now read-only.

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfsck committed Oct 26, 2020
1 parent ccc1e1f commit 559a7d9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
submodules: true

Expand Down Expand Up @@ -56,23 +56,26 @@ jobs:
Compress-Archive -Path dnSpy\dnSpy\bin\Release\netcoreapp3.1\win-x64\publish\* -DestinationPath C:\builtfiles\dnSpy-netcore-win64.zip
.\clean-all.cmd
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
with:
name: dnSpy-net48
path: C:\builtfiles\dnSpy-net48.zip
if-no-files-found: error

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
with:
name: dnSpy-netcore-win32
path: C:\builtfiles\dnSpy-netcore-win32.zip
if-no-files-found: error

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
with:
name: dnSpy-netcore-win64
path: C:\builtfiles\dnSpy-netcore-win64.zip
if-no-files-found: error

# Create a new release: create a tag, then 'git push origin <tagname>', wait for it to build
- name: Create a new GitHub release if a new tag is pushed
Expand Down

0 comments on commit 559a7d9

Please sign in to comment.