Skip to content

Snap Daily Build

Snap Daily Build #87

Workflow file for this run

name: Snap Daily Build
on:
schedule:
- cron: '0 6 * * *' # Run daily at 6 AM UTC
workflow_dispatch: # Allow manual trigger
jobs:
build-edge:
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/main' # Run only for the 'main' branch
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: canonical/action-build@v1.3.0
id: build
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: edge