build: Snap in CI
This commit is contained in:
parent
18b270a15c
commit
c44f6525fb
2 changed files with 39 additions and 2 deletions
15
.github/workflows/main_deploy.yaml
vendored
15
.github/workflows/main_deploy.yaml
vendored
|
|
@ -78,3 +78,18 @@ jobs:
|
|||
bundle update fastlane
|
||||
bundle exec fastlane deploy_internal_test
|
||||
cd ..
|
||||
|
||||
deploy_snap:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
snap-file: ${{ steps.build-snap.outputs.snap }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: snapcore/action-build@v1
|
||||
id: build-snap
|
||||
- uses: snapcore/action-publish@v1
|
||||
env:
|
||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
|
||||
with:
|
||||
snap: ${{ steps.build-snap.outputs.snap }}
|
||||
release: 'edge'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue