Working Snap Created and Published #1
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: 🧪 Snap Builds | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: snapcore/action-build@v1 | |
id: build | |
- uses: diddlesnaps/snapcraft-review-action@v1 | |
with: | |
snap: ${{ steps.build.outputs.snap }} | |
isClassic: 'false' | |
# Plugs and Slots declarations to override default denial (requires store assertion to publish) | |
#plugs: ./plug-declaration.json | |
#slots: ./slot-declaration.json |