feat: snap build #8
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
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 |