diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/publish-aur.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/publish-aur.yml b/.github/workflows/publish-aur.yml index 87c4f49..addc9e3 100644 --- a/.github/workflows/publish-aur.yml +++ b/.github/workflows/publish-aur.yml @@ -16,6 +16,8 @@ on: jobs: aur: runs-on: ubuntu-latest + container: + image: archlinux:latest if: | github.event_name == 'workflow_dispatch' && github.event.inputs.tag != '' || startsWith(github.ref, 'refs/tags/v') @@ -33,7 +35,7 @@ jobs: ssh-keyscan -t ed25519 aur.archlinux.org >> ~/.ssh/known_hosts - name: Install makepkg - run: sudo apt-get update && sudo apt-get install -y archlinux-keyring pkgbuild-utils + run: sudo apt-get update && sudo apt-get install -y makepkg archlinux-keyring - name: Clone AUR repository and update PKGBUILD run: | @@ -47,7 +49,7 @@ jobs: fi VERSION="${TAG#v}" sed -i "s/^pkgver=.*/pkgver=${VERSION}/" PKGBUILD - mksrcinfo --printsrcinfo > .SRCINFO + makepkg --printsrcinfo > .SRCINFO git add PKGBUILD .SRCINFO if git diff --cached --quiet; then echo "No changes to commit" |