Skip to content

ci: Try to fix

ci: Try to fix #327

Workflow file for this run

name: Snapcraft
on:
push:
branches: [release]
jobs:
build:
runs-on: ubuntu-latest
name: Snapcraft Build
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
steps:

Check failure on line 13 in .github/workflows/snap.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/snap.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v3
- name: Install LXD
run: |
sudo snap install lxd
sudo lxd init --auto
- name: Build snap using LXD
run: |
sg lxd -c 'snapcraft --use-lxd'
- name: List Snap Files
run: ls -la *.snap
- name: Upload Snap Artifact
uses: actions/upload-artifact@v4
with:
name: snap
path: '*.snap'
- name: Install Snap Locally
run: |
sudo snap install --dangerous *.snap