testing
All checks were successful
Build/Publish XBPS / build-and-publish (push) Successful in 10s

This commit is contained in:
Luca Bilke 2024-04-05 23:19:29 +02:00
parent 049abe002f
commit d433645498
No known key found for this signature in database
GPG key ID: AD6630D0A1E650AC
2 changed files with 7 additions and 4 deletions

View file

@ -34,13 +34,16 @@ jobs:
set -xeu
packages=$(echo "${{ steps.changed.outputs.all_changed_files }}" | grep -oP '(?<=srcpkgs/)[^/]*' | xargs)
[ -z "${packages}" ] && exit 0
mkdir /target
export XBPS_TARGET_ARCH
for package in $packages; do
cp -a "srcpkgs/${package}" "/void-packages-master/srcpkgs/"
set +e
/void-packages-master/xbps-src pkg "${package}" >"pkg.log"
bash -x /void-packages-master/xbps-src pkg "${package}" >"pkg.log"
set -e
mv "/void-packages-master/hostdir/binpkgs/${package}-*.${{ env.ARCH }}.xbps" "/target/"
mv /void-packages-master/hostdir/binpkgs/${package}-*.${{ env.ARCH }}.xbps "/target/"
done
- name: Push packages
@ -54,7 +57,7 @@ jobs:
echo '${{ secrets.XBPS_SIGNING_KEY }}' >"/tmp/privkey.pem"
for package in $packages; do
file="/target/${package}.${{ env.ARCH }}.xbps"
file=$(echo /target/${package}-*.${{ env.ARCH }}.xbps | cut -d ' ' -f 1)
[ -r "$file" ]
xbps-rindex --add "$file"
XBPS_PASSPHRASE=${{ secrets.XBPS_SIGNING_PASSPHRASE }} xbps-rindex --privkey "/tmp/privkey.pem" --sign-pkg --signedby "${{ env.MAINTAINER }}" "$file"

View file

@ -1,6 +1,6 @@
# Template file for 'font-firacode-nf-ttf'
pkgname=font-firacode-nf-ttf
version=3.2.0
version=3.1.0
revision=1
homepage="https://nerdfonts.com/"
license="MIT"