Skip to content

Commit

Permalink
CI: only push snap if tag
Browse files Browse the repository at this point in the history
  • Loading branch information
siwatanejo committed Mar 20, 2024
1 parent ae0f020 commit f231352
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/CI.yml
Expand Up @@ -152,6 +152,8 @@ jobs:
snapcraft --version
- name: Upload to SnapStore
#FIXME: add github.event_name == 'push' condition to the 'if:' condition below?
if: startsWith(github.ref, 'refs/tags/')
run: |
# no need to 'snapcraft login' first, see https://forum.snapcraft.io/t/snapcraft-authentication-options/30473/21
snapcraft upload *.snap --release=beta
Expand Down

0 comments on commit f231352

Please sign in to comment.