-
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (36 loc) · 1.12 KB
/
make-libcurl-julia-bin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 }}