Skip to content

chore: fixes to ci and snap (#18) #9

chore: fixes to ci and snap (#18)

chore: fixes to ci and snap (#18) #9

Workflow file for this run

name: Create Snap Package
on:
push:
branches:
- master
workflow_dispatch:
env:
FLUTTER_VERSION: "3.29.0"
jobs:
build_and_release_linux_snap_edge_amd64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 5
- run: echo ${{ secrets.API_KEY }} > secrets.txt
- uses: snapcore/action-build@v1
id: build
- uses: snapcore/action-publish@v1
if: steps.build.outcome == 'success'
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: edge
build_and_release_linux_snap_edge_arm64:
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 5
- run: echo ${{ secrets.API_KEY }} > secrets.txt
- uses: snapcore/action-build@v1
id: build
- uses: snapcore/action-publish@v1
if: steps.build.outcome == 'success'
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: edge