Skip to content

Commit

Permalink
Added artifacts storing when not release
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenldl committed Jun 29, 2024
1 parent e5e42eb commit 9378881
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,15 @@ jobs:
mv release/docfd docfd
tar -cvzf docfd-${{ env.GITHUB_TAG }}-${{ env.OS_SHORT_NAME }}.tar.gz docfd
- name: Upload artifacts
if: ${{ github.event_name != 'release' }}
uses: actions/upload-artifact@v4
with:
name: docfd-${{ env.GITHUB_TAG }}-${{ env.OS_SHORT_NAME }}.tar.gz
path: docfd-${{ env.GITHUB_TAG }}-${{ env.OS_SHORT_NAME }}.tar.gz

- name: Release
if: ${{ github.event_name == 'release' }}
uses: softprops/action-gh-release@v1
with:
files: |
Expand Down

0 comments on commit 9378881

Please sign in to comment.