pin to latest tag now to prepare builds for tagged v10.0.1 #31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Snap Publish Release | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| stable: | |
| runs-on: ubuntu-24.04 | |
| if: github.ref == 'refs/heads/stable' # Run only for the 'stable' branch | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| - uses: canonical/action-build@v1.3.0 | |
| id: build | |
| - uses: snapcore/action-publish@v1 | |
| env: | |
| SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }} | |
| with: | |
| snap: ${{ steps.build.outputs.snap }} | |
| release: candidate |