Skip to content

Commit 2b672f6

Browse files
committed
Fix IzPack installation path in CI workflow for non-interactive setup
1 parent cb8b388 commit 2b672f6

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/ant.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
- name: Set up IzPack 5
2727
run: |
2828
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
29+
java -jar izpack-installer.jar -options .github/workflows/auto-install.xml
3130
- name : Generate override.properties
3231
run: |
3332
rm -f override.properties

.github/workflows/auto-install.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,8 @@
22
<!--
33
IzPack 5 unattended installation options file.
44
Used in GitHub Actions to install IzPack 5 non-interactively.
5-
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.
8-
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
125
-->
136
<AutoInstall>
147
<langpack code="eng"/>
15-
<installpath>${IZPACK_INSTALL_PATH}</installpath>
8+
<installpath>/home/runner/IzPack</installpath>
169
</AutoInstall>

0 commit comments

Comments
 (0)