fix: replace removed archlinux/setup-pacman action with docker for .SRCINFO

This commit is contained in:
sankalp committed 2026-05-29 15:19:22 +05:45
1 parent 80899602e5
commit c223fea5f4
1 file changed
+3 -8
+3 -8
View File
@@ -53,12 +53,6 @@ jobs:
uses: actions/checkout@v4
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Setup pacman
uses: archlinux/setup-pacman@v1
with:
update: true
- name: Install base-devel (for makepkg)
run: sudo pacman -S --noconfirm --needed base-devel
- name: Get version
id: version
run: echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
@@ -70,8 +64,9 @@ jobs:
mkdir -p aur-pkg
cargo aur --output aur-pkg
- name: Generate .SRCINFO
working-directory: aur-pkg
run: makepkg --printsrcinfo > .SRCINFO
run: |
docker run --rm -v "$(pwd)/aur-pkg:/build" archlinux:latest \
bash -c "cd /build && makepkg --printsrcinfo > .SRCINFO"
- name: Push to AUR
uses: KSXGitHub/github-actions-deploy-aur@v2.5.0
with: