File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,10 +23,20 @@ jobs:
2323 curl \
2424 xz-utils \
2525 git \
26- libloc-dev \
2726 python3-location \
2827 ca-certificates
2928
29+ - name : Install location CLI
30+ run : |
31+ # python3-location provides the Python C module but not the
32+ # `location` CLI binary in Debian bookworm. Install from IPFire repo.
33+ curl -sSL "https://location.ipfire.org/keys/signing-key.asc" \
34+ | gpg --dearmor -o /usr/share/keyrings/ipfire-location.gpg
35+ echo "deb [signed-by=/usr/share/keyrings/ipfire-location.gpg] https://packages.ipfire.org/repos/location bookworm/" \
36+ > /etc/apt/sources.list.d/ipfire-location.list
37+ apt-get -y update
38+ apt-get -y install location
39+
3040 - name : Install Rust toolchain
3141 run : |
3242 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
5464 BRANCH="auto/update-geoip"
5565 DATE="$(date -u +%Y/%m/%d)"
5666
57- git config user.name "github-actions[bot] "
58- git config user.email "41898282+ github-actions[bot] @users.noreply.github.com"
67+ git config user.name "${{ github.actor }} "
68+ git config user.email "${{ github.actor_id }}+${{ github.actor }} @users.noreply.github.com"
5969
6070 git checkout -B "$BRANCH"
6171 git add src/config/geoip src/config/geoip6
You can’t perform that action at this time.
0 commit comments