Skip to content

Merge pull request #432 from canonical/cli_client_id_change #24

Merge pull request #432 from canonical/cli_client_id_change

Merge pull request #432 from canonical/cli_client_id_change #24

name: Publish Testflinger CLI snap to edge and beta
on:
push:
branches: ["main"]
paths:
- cli/**
workflow_dispatch:
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
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: beta