Skip to content

Commit

Permalink
Download and archive artifact for pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
link00000000 committed Apr 1, 2021
1 parent ad01061 commit f218b94
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ jobs:
needs: [release-build, debug-build]

steps:
- name: Download build artifact
uses: actions/download-artifact@v2
with:
name: mimic-win64
path: mimic-win64

- name: Archive build
run: |
7z a -tzip mimic-win64.zip .\mimic-win64\*
- name: Create pre-release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') # Only create release if tag is created
Expand Down

0 comments on commit f218b94

Please sign in to comment.