v1.29.2 #43
Workflow file for this run
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: Build unofficial snap | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - .github/workflows/snap.yml | |
| - snap/snapcraft.yaml | |
| jobs: | |
| build-snap: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 59 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Patch snapcraft.yaml to use current commit (github.sha) | |
| run: | | |
| sed -i "s|source-tag: 'v.*'|source-commit: '${{ github.sha }}'|g" snap/snapcraft.yaml | |
| - name: Build snap | |
| id: build | |
| uses: snapcore/action-build@v1 | |
| - name: Upload snap artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: Saber-Snap | |
| path: ${{ steps.build.outputs.snap }} |