Skip to content

feat: snap build

feat: snap build #9

Workflow file for this run

on:
push:
branches: [master]
pull_request:
workflow_dispatch:
name: Snap
jobs:
my-job:
name: Snapcraft Build
runs-on: ubuntu-latest
# env:
# SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
- name: Install LXD
uses: canonical/setup-lxd@main
- name: Snapcraft Build
run: snapcraft
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Redot.snap
path: redot*.snap