Skip to content
on:
workflow_dispatch: ~
push:
branches:
- "master"
paths:
- ".github/packages/libcurl-julia-bin/version.txt"
jobs:
makepkg:
container: archlinux:base-devel
runs-on: ubuntu-latest
steps:
- run: pacman-key --init
- run: pacman -Syu --noconfirm dbus-daemon-units git github-cli
- uses: actions/checkout@v4
with:
persist-credentials: false
path: libcurl-julia-bin
ref: libcurl-julia-bin
- run: |-
makepkg -V
sed -re 's/\b(EUID) == 0\b/\1 < -0/g' -i /bin/makepkg
sed -re 's/^#?(PACKAGER).*$/\1="Heptazhou <[email protected]>"/g' -i /etc/makepkg.conf
- run: |-
cd libcurl-julia-bin
makepkg -si --noconfirm
mv -vt .. *.pkg.tar.zst
- run: ls -lav *.pkg.tar.zst
- uses: actions/upload-artifact@v4
with:
compression-level: 0
path: "*.pkg.tar.zst"
- run: gh release create -p --target libcurl-julia-bin libcurl-julia-bin-v1.10-1 *.pkg.tar.zst
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}