File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 2525 distribution : ' temurin'
2626 - name : Set up IzPack 5
2727 run : |
28- wget -O izpack-installer.jar https://repo1.maven.org/maven2/org/codehaus/izpack/izpack-dist/5.2.4/izpack-dist-5.2.4-installer.jar
29- java -jar izpack-installer.jar -options .github/workflows/auto-install.xml
28+ wget -q -O izpack-installer.jar https://repo1.maven.org/maven2/org/codehaus/izpack/izpack-dist/5.2.4/izpack-dist-5.2.4-installer.jar
29+ IZPACK_INSTALL_PATH="$HOME/IzPack" envsubst < .github/workflows/auto-install.xml > /tmp/izpack-auto-install.xml
30+ java -jar izpack-installer.jar -options /tmp/izpack-auto-install.xml
3031 - name : Generate override.properties
3132 run : |
3233 rm -f override.properties
Original file line number Diff line number Diff line change 33 IzPack 5 unattended installation options file.
44 Used in GitHub Actions to install IzPack 5 non-interactively.
55
6- Usage:
7- java -jar izpack-dist-5.2.4-installer.jar -options .github/workflows/auto-install.xml
6+ ${IZPACK_INSTALL_PATH} is a shell variable expanded at runtime by the workflow
7+ via envsubst, so the literal string is never passed to IzPack.
88
9- $USER_HOME resolves to the runner's home directory (~), so IzPack will be installed
10- at ~/IzPack, which matches the default izpack5.home value in build.properties.
9+ Usage (from ant.yml):
10+ IZPACK_INSTALL_PATH="$HOME/IzPack" envsubst < .github/workflows/auto-install.xml > /tmp/izpack-auto-install.xml
11+ java -jar izpack-dist-5.2.4-installer.jar -options /tmp/izpack-auto-install.xml
1112-->
1213<AutoInstall >
1314 <langpack code =" eng" />
14- <installpath >$USER_HOME/IzPack </installpath >
15+ <installpath >${IZPACK_INSTALL_PATH} </installpath >
1516</AutoInstall >
You can’t perform that action at this time.
0 commit comments