mirror of
https://github.com/Nostalgica-Reverie/Content-Monorepo.git
synced 2026-05-09 00:24:15 +00:00
chore(actions): fix
This commit is contained in:
@@ -20,7 +20,12 @@ jobs:
|
||||
pack=$(git diff --name-only HEAD~1 HEAD | grep '^resourcepacks/' | sed 's|resourcepacks/[^/]*/\([^/]*\)/.*|\1|' | sort -u | head -1)
|
||||
dir=$(find ./resourcepacks -type d -name "$pack" | head -1)
|
||||
echo "pack=$pack" >> $GITHUB_OUTPUT
|
||||
curl -L https://github.com/ComunidadAylas/PackSquash/releases/latest/download/packsquash-linux-x64 -o /tmp/packsquash
|
||||
curl -L \
|
||||
$(curl -s https://api.github.com/repos/ComunidadAylas/PackSquash/releases/latest \
|
||||
| grep "browser_download_url" \
|
||||
| grep "x86_64-unknown-linux-musl" \
|
||||
| cut -d '"' -f 4) \
|
||||
-o /tmp/packsquash
|
||||
chmod +x /tmp/packsquash
|
||||
cat > /tmp/options.toml << EOF
|
||||
pack_directory = '$dir'
|
||||
|
||||
Reference in New Issue
Block a user