update installer, restore the tar.bz2 archive along with the installer and try to grant permission on the shell executables.

This commit is contained in:
Anthony Calosa
2024-10-21 19:35:23 +08:00
committed by Chris H
parent 2814207390
commit fbf26efc60
3 changed files with 45 additions and 19 deletions

View File

@@ -58,10 +58,15 @@ jobs:
mkdir izpack
# If this works just gotta figure out how to append datetime
mv /home/runner/.m2/repository/forge/forge-installer/*/*.jar izpack/
mv /home/runner/.m2/repository/forge/forge-installer/*/*.bz2 izpack/
cd izpack
out="$(basename -s .jar *)"
d=$(date +%m.%d)
mv "${out}.jar" "${out}-${d}.jar"
# rename installer
outj="$(basename -s .jar *)"
mv "${outj}.jar" "${outj}-${d}.jar"
# rename archive
outb="$(basename -s .tar.bz2 *)"
mv "${outb}.tar.bz2" "${outb}-${d}.tar.bz2"
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.4