feat(ci): deb package on release (#518) #185
This file contains 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 test Amber Snap | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
snap: | |
name: Build snap | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: snapcore/action-build@v1 | |
id: snapcraft | |
- uses: actions/upload-artifact@v4 | |
if: ${{ github.event_name == 'release' }} #uploads the snap only if it's a release | |
with: | |
name: amber-snap | |
path: ${{ steps.snapcraft.outputs.snap }} |