summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/snap.yml18
1 files changed, 18 insertions, 0 deletions
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 }}