Skip to content

Commit

Permalink
Add a github workflow to publish the cli snap
Browse files Browse the repository at this point in the history
  • Loading branch information
plars committed Oct 27, 2023
1 parent 631d44d commit a3dafe1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/cli-publish-snap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish Testflinger CLI snap to edge
on:
push:
branches: ["main"]
paths:
- cli/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: snapcore/action-build@v1
id: build
with:
path: cli
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: edge

0 comments on commit a3dafe1

Please sign in to comment.