Skip to content

Build and publish Snap #154

Build and publish Snap

Build and publish Snap #154

Workflow file for this run

name: Build and publish Snap
on:
workflow_run:
workflows: [Test]
branches: [main]
types: [completed]
jobs:
build:
if: ${{ github.event.workflow_run.event == 'push' && github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: snapcore/action-build@v1
id: build
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: edge