This commit is contained in:
parent
90a5922edc
commit
3ce74daadf
1 changed files with 9 additions and 2 deletions
|
@ -9,8 +9,15 @@ jobs:
|
|||
update-aur:
|
||||
runs-on: docker
|
||||
|
||||
container:
|
||||
image: archlinux:latest
|
||||
|
||||
steps:
|
||||
- name: Checkout AUR packaging repo
|
||||
- name: Install Arch build tools
|
||||
run: |
|
||||
pacman -Sy --noconfirm git base-devel
|
||||
|
||||
- name: Checkout AUR repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Git identity
|
||||
|
@ -40,7 +47,7 @@ jobs:
|
|||
commit=$(git rev-parse --short HEAD)
|
||||
echo "pkgver=${tag}.r${rev}.${commit}" >> $GITHUB_ENV
|
||||
|
||||
- name: Update PKGBUILD and regenerate .SRCINFO
|
||||
- name: Patch PKGBUILD and regenerate .SRCINFO
|
||||
run: |
|
||||
echo "Using pkgver=${{ env.pkgver }}"
|
||||
sed -i "s/^pkgver=.*/pkgver=${{ env.pkgver }}/" PKGBUILD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue