Snap Update #10187
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Snap Update | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '**.el' | |
- '**.yml' | |
- 'snap/**' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
workflow_run: | |
workflows: ["checksum"] | |
types: | |
- completed | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jcs090218/setup-emacs@master | |
with: | |
version: 29.4 | |
- uses: emacs-eask/setup-eask@master | |
with: | |
version: 'snapshot' | |
- name: Update snapcraft.yaml | |
run: | | |
eask install-deps | |
eask run script snap-update | |
- name: Set git config | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
- name: Commit | |
continue-on-error: true | |
run: | | |
git pull | |
git add . | |
git commit -m "Update Snap snapcraft.yaml" | |
- name: Push updated bucket | |
continue-on-error: true | |
uses: jcs090218/github-push-action@master | |
with: | |
branch: master | |
rebase: true | |
retry: 7 |