chore(ci): improve error handling and push only ref
Some checks failed
Markdown linter / markdown-lint (push) Failing after 20s

This commit is contained in:
Markus Pesch 2025-04-14 16:58:47 +02:00
parent 9280fb3553
commit 9882035ca4
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
3 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
pkgbase = mint-backgrounds pkgbase = mint-backgrounds
pkgdesc = The backgrounds of Linux Mint pkgdesc = The backgrounds of Linux Mint
pkgver = 1.8.0 pkgver = 1.8.0
pkgrel = 1 pkgrel = 2
arch = any arch = any
license = Various license = Various
depends = mint-backgrounds-helena depends = mint-backgrounds-helena

View File

@ -15,9 +15,11 @@ jobs:
- ubuntu-latest - ubuntu-latest
steps: steps:
- uses: actions/checkout@v4.2.2 - uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
- name: Configure SSH client - name: Configure SSH client
run: | run: |
mkdir ~/.ssh mkdir ~/.ssh || true
chmod 0700 ~/.ssh chmod 0700 ~/.ssh
echo "${AUR_SSH_KEY}" | base64 --decode > ~/.ssh/id echo "${AUR_SSH_KEY}" | base64 --decode > ~/.ssh/id
@ -30,7 +32,7 @@ jobs:
EOF EOF
- name: Push - name: Push
run: | run: |
git push ssh://aur@aur.archlinux.org/mint-backgrounds.git git push ssh://aur@aur.archlinux.org/mint-backgrounds.git 'HEAD:refs/heads/master'
- name: Remove SSH client configuration - name: Remove SSH client configuration
run: | run: |
rm -rf ~/.ssh rm -rf ~/.ssh

View File

@ -2,7 +2,7 @@
pkgname=mint-backgrounds pkgname=mint-backgrounds
pkgver=1.8.0 pkgver=1.8.0
pkgrel=1 pkgrel=2
pkgdesc="The backgrounds of Linux Mint" pkgdesc="The backgrounds of Linux Mint"
license=('Various') license=('Various')
arch=('any') arch=('any')