mirror of
https://github.com/SwingTheVine/Wplace-BlueMarble.git
synced 2026-03-11 17:15:38 +00:00
(2) Fixed tokei bug in build pipeline
This commit is contained in:
parent
185a2d7eee
commit
960b8ac535
1 changed files with 1 additions and 16 deletions
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
|
@ -56,22 +56,7 @@ jobs:
|
|||
run: npm install
|
||||
|
||||
- name: Install tokei
|
||||
run: |
|
||||
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/
|
||||
run: sudo apt-get update && sudo apt-get install -y tokei jq
|
||||
|
||||
- name: Update userscript version
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue