Force run AUR publish to fix missing release #271
Workflow file for this run
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: Native CI/CD | |
on: | |
push: | |
paths: | |
- .github/workflows/native.yaml | |
- native/** | |
tags: | |
- v* | |
branches-ignore: | |
- crowdin-* | |
pull_request: | |
paths: | |
- .github/workflows/native.yaml | |
- native/** | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
release-aur: | |
name: Release on Arch User Repository | |
runs-on: ubuntu-latest | |
container: archlinux | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install required packages | |
run: pacman -Syu pacman-contrib pacman namcap sudo --noconfirm --needed | |
- name: Prepare non-root user | |
run: chown -R nobody . | |
- name: Update PKGBUILDs | |
run: | | |
echo "::group::Setting the package versions" | |
VERSION=2.12.2 | |
echo "VERSION=$VERSION" >> $GITHUB_ENV | |
sed -i "s/pkgver=\$VERSION/pkgver=\"$VERSION\"/g" native/packages/aur/firefox-pwa/PKGBUILD | |
sed -i "s/pkgver=\$VERSION/pkgver=\"$VERSION\"/g" native/packages/aur/firefox-pwa-bin/PKGBUILD | |
echo "::endgroup::" | |
echo "::group::Updating the package checksums" | |
(cd native/packages/aur/firefox-pwa && sudo -u nobody updpkgsums) | |
(cd native/packages/aur/firefox-pwa-bin && sudo -u nobody updpkgsums) | |
echo "::endgroup::" | |
- name: Verify PKGBUILDs | |
run: | | |
# Binary version is skipped because namcap doesn't work with arch-specific sources | |
(cd native/packages/aur/firefox-pwa && namcap -i PKGBUILD) | |
- name: Release firefox-pwa package | |
uses: KSXGitHub/github-actions-deploy-aur@a97f56a8425a7a7f3b8c58607f769c69b089cadb | |
with: | |
pkgname: firefox-pwa | |
pkgbuild: ./native/packages/aur/firefox-pwa/PKGBUILD | |
assets: ./native/packages/aur/firefox-pwa/** | |
commit_message: Update to ${{ env.VERSION }} | |
commit_username: ${{ secrets.AUR_USERNAME }} | |
commit_email: ${{ secrets.AUR_EMAIL }} | |
ssh_private_key: ${{ secrets.AUR_PRIVATE_KEY }} | |
ssh_keyscan_types: rsa,ecdsa,ed25519 | |
- name: Release firefox-pwa-bin package | |
uses: KSXGitHub/github-actions-deploy-aur@a97f56a8425a7a7f3b8c58607f769c69b089cadb | |
with: | |
pkgname: firefox-pwa-bin | |
pkgbuild: ./native/packages/aur/firefox-pwa-bin/PKGBUILD | |
assets: ./native/packages/aur/firefox-pwa-bin/** | |
commit_message: Update to ${{ env.VERSION }} | |
commit_username: ${{ secrets.AUR_USERNAME }} | |
commit_email: ${{ secrets.AUR_EMAIL }} | |
ssh_private_key: ${{ secrets.AUR_PRIVATE_KEY }} | |
ssh_keyscan_types: rsa,ecdsa,ed25519 |