Skip to content

Commit

Permalink
ci: fix publish for extra build
Browse files Browse the repository at this point in the history
  • Loading branch information
florianvazelle committed Feb 25, 2024
1 parent 79e1521 commit fddbbe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/appimage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ jobs:

# Publish, on each release
- name: Publish AppImage
if: ${{ env.GITHUB_EVENT_NAME == 'release' || (env.GITHUB_EVENT_NAME == 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/')) }}
if: startsWith(github.ref, 'refs/tags/')
run: |
gh release upload ${{ env.game_version }} ./${{ env.game_name }}-${{ env.game_version }}.AppImage
2 changes: 1 addition & 1 deletion .github/workflows/snapcraft-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

# Push, on each release, to the stable channel
- uses: snapcore/action-publish@v1
if: ${{ env.GITHUB_EVENT_NAME == 'release' || (env.GITHUB_EVENT_NAME == 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/')) }}
if: startsWith(github.ref, 'refs/tags/')
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
with:
Expand Down

0 comments on commit fddbbe8

Please sign in to comment.