Skip to content

Commit

Permalink
[GitHub Actions] Snap Stable: Do not deploy prereleases
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Jul 6, 2024
1 parent 9852200 commit 847a89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate_snap_stable_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
permissions:
contents: read
runs-on: ubuntu-latest
if: (github.event_name == 'release') || (github.event_name == 'workflow_dispatch')
if: (github.event_name == 'release' && github.event.action == 'published' && !github.event.release.prerelease) || (github.event_name == 'workflow_dispatch')
steps:
- name: Checkout snap-stable-build@master
uses: actions/checkout@v4
Expand Down

0 comments on commit 847a89f

Please sign in to comment.