Skip to content

Commit

Permalink
ci: upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Mythologyli committed Feb 6, 2023
1 parent 728a058 commit 40f1864
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ jobs:
pushd build_assets || exit 1
zip -9vr ../ZJUConnect-$ASSET_NAME.zip .
popd || exit 1
- name: Upload artifact
if: github.event_name != 'release'
uses: actions/upload-artifact@v2
with:
name: ZJUConnect-${{ steps.get_filename.outputs.ASSET_NAME }}
path: ZJUConnect-${{ steps.get_filename.outputs.ASSET_NAME }}.zip

- name: Upload release binary
if: github.event_name == 'release'
Expand Down

0 comments on commit 40f1864

Please sign in to comment.