Skip to content

Commit

Permalink
CI: Always run makepkg as user makepkg
Browse files Browse the repository at this point in the history
Trying to run this as root fails with the previously
introduced code.
  • Loading branch information
networkException committed Jul 29, 2024
1 parent ef871c4 commit d1ed818
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ jobs:
echo "::group::Generating source archive..."
SOURCE_TARBALL_URL="$(makepkg --printsrcinfo | grep commondatastorage.googleapis.com | awk '{ print $3 }')"
SOURCE_TARBALL_URL="$(su -c "makepkg --printsrcinfo" makepkg | grep commondatastorage.googleapis.com | awk '{ print $3 }')"
SOURCE_TARBALL_FILENAME="$(echo "$SOURCE_TARBALL_URL" | awk -F'/' '{ print $NF }')"
SOURCE_TARBALL_CHECKSUM="$(makepkg --printsrcinfo | grep sha256sums -m 1 | awk '{ print $3 }')"
SOURCE_TARBALL_CHECKSUM="$(su -c "makepkg --printsrcinfo" makepkg | grep sha256sums -m 1 | awk '{ print $3 }')"
# Taken from https://github.com/NixOS/nixpkgs/blob/7a14a916f856dc4acda391a9febc3bfb37f2a732/pkgs/applications/networking/browsers/chromium/recompress-tarball.nix#L31-L54
curl "$SOURCE_TARBALL_URL" \
Expand Down
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

pkgname=ungoogled-chromium
pkgver=127.0.6533.72
pkgrel=2
pkgrel=3
_launcher_ver=8
_system_clang=1
# ungoogled chromium variables
Expand Down

0 comments on commit d1ed818

Please sign in to comment.