(2) Fixed tokei bug in build pipeline

This commit is contained in:
SwingTheVine 2026-02-27 05:46:22 -05:00
parent 185a2d7eee
commit 960b8ac535

View file

@ -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: |