Skip to content

Merge pull request #124 from weblate/weblate-nickvision-cavalier-app #127

Merge pull request #124 from weblate/weblate-nickvision-cavalier-app

Merge pull request #124 from weblate/weblate-nickvision-cavalier-app #127

Workflow file for this run

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [ "review_requested", "ready_for_review" ]
workflow_dispatch:
name: Snap
permissions:
id-token: write
contents: read
jobs:
snap:
name: "GNOME on Snap"
runs-on: ubuntu-latest
strategy:
matrix:
arch: [x86_64]
fail-fast: false
steps:
- name: Checkout Git repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Build Snap
uses: snapcore/action-build@v1
id: snapcraft-build
with:
snapcraft-args: "-v"
- uses: actions/upload-artifact@v3
with:
name: ${{ steps.snapcraft-build.outputs.snap }}
path: ${{ steps.snapcraft-build.outputs.snap }}
- name: Upload and release Cavalier Snap
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{ steps.snapcraft-build.outputs.snap }}
release: ${{'edge'}}