Skip to content

Commit

Permalink
Upload build to release, if applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidner committed Dec 11, 2023
1 parent 569999a commit 773b052
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,15 @@ jobs:
run: invoke env
- name: Build application bundle
run: invoke build
- name: Upload to release
uses: softprops/action-gh-release@v1
if: ${{ github.event_name == 'release' }}
with:
files: |
dist/archive/*.7z
- name: Upload build artifact
uses: actions/upload-artifact@v3
if: ${{ github.event_name != 'release' }}
with:
name: bundle
path: dist/archive/*.7z

0 comments on commit 773b052

Please sign in to comment.