From ee140b1d57157237d00828d9f045b3b93fee40ef Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Fri, 3 Nov 2023 09:53:34 -0500 Subject: [PATCH] GH actions --- .github/workflows/test-snap-can-build.yml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test-snap-can-build.yml diff --git a/.github/workflows/test-snap-can-build.yml b/.github/workflows/test-snap-can-build.yml new file mode 100644 index 0000000000..f0ea298ca8 --- /dev/null +++ b/.github/workflows/test-snap-can-build.yml @@ -0,0 +1,25 @@ +name: 🧪 Test snap can be built on x86_64 + +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