Skip to content

snap: Add rust to build-packages [2.8 backport] #72

snap: Add rust to build-packages [2.8 backport]

snap: Add rust to build-packages [2.8 backport] #72

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Build Snap
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
pull_request
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- uses: snapcore/action-build@v1
id: snapcraft
snapcraft-channel: "7.x"

Check failure on line 22 in .github/workflows/build-snap.yml

View workflow run for this annotation

GitHub Actions / Build Snap

Invalid workflow file

The workflow is not valid. .github/workflows/build-snap.yml (Line: 22, Col: 7): Unexpected value 'snapcraft-channel'
- uses: actions/upload-artifact@v4
with:
name: charm.snap
path: ${{ steps.snapcraft.outputs.snap }}