From 95598e0fa90f369ee4b9e7dc125cb33d5c7b4e49 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Thu, 11 Apr 2024 11:46:38 +0200 Subject: GitHub Actions: Added workflow for building the snap This helps with debugging potential issues with building the snap, since it also uploads the full snapcraft log, which is not available from snapcraft.io. --- .github/workflows/snap.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/snap.yml diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml new file mode 100644 index 00000000..8ce2750b --- /dev/null +++ b/.github/workflows/snap.yml @@ -0,0 +1,18 @@ +on: push + +jobs: + snap: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: snapcore/action-build@v1 + id: snapcraft + - uses: actions/upload-artifact@v4 + if: always() + with: + name: snapcraft.log + path: '/home/runner/.local/state/snapcraft/log/*.log' + - uses: actions/upload-artifact@v4 + with: + name: mana_amd64.snap + path: ${{ steps.snapcraft.outputs.snap }} -- cgit v1.2.3-70-g09d2