mirror of
https://github.com/SwingTheVine/Wplace-BlueMarble.git
synced 2026-03-11 13:05:38 +00:00
Fixed tokei bug in build pipeline
This commit is contained in:
parent
cdaaaf11ed
commit
185a2d7eee
1 changed files with 14 additions and 2 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
|
@ -57,8 +57,20 @@ jobs:
|
|||
|
||||
- name: Install tokei
|
||||
run: |
|
||||
curl -L https://github.com/XAMPPRocky/tokei/releases/latest/download/tokei-x86_64-unknown-linux-gnu.tar.gz \
|
||||
| tar xz
|
||||
set -e
|
||||
|
||||
ASSET_URL=$(curl -s https://api.github.com/repos/XAMPPRocky/tokei/releases/latest \
|
||||
| grep browser_download_url \
|
||||
| grep x86_64-unknown-linux-gnu.tar.gz \
|
||||
| cut -d '"' -f 4)
|
||||
|
||||
if [ -z "$ASSET_URL" ]; then
|
||||
echo "Failed to find tokei release asset"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
curl -L "$ASSET_URL" -o tokei.tar.gz
|
||||
tar -xzf tokei.tar.gz
|
||||
sudo mv tokei /usr/local/bin/
|
||||
|
||||
- name: Update userscript version
|
||||
|
|
|
|||
Loading…
Reference in a new issue