Skip to content

Commit 8e8a0de

Browse files
committed
Set permissions
1 parent fa1a04d commit 8e8a0de

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/actions/build-installers/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ runs:
2020
working-directory: installers
2121
shell: bash
2222

23+
- name: Grant execute permission for NBPackage
24+
if: runner.os == 'Linux' || runner.os == 'macOS'
25+
run: chmod +x installers/nbpackage/bin/nbpackage
26+
shell: bash
27+
2328
- name: Build installers
2429
run: bash build-installers.sh ${{ inputs.tag }} ${{ inputs.os }} ${{ inputs.arch }}
2530
working-directory: installers

installers/build-installers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ inno_setup_url="https://github.com/jrsoftware/issrc/releases/download/is-6_7_3/i
1414
function build_nbpackage {
1515
echo ">> Building the NBPackage installer for $1-$2"
1616

17-
./nbpackage/bin/nbpackage --input ../dist/jmonkeyplatform.zip --config "$1-$2/$3" --output ../dist/ -v -Ppackage.version="$4"
17+
./nbpackage/bin/nbpackage --input ../dist/jmonkeyplatform.zip --config "$1-$2/$3" --output ../dist/installers/ -v -Ppackage.version="$4"
1818

1919
echo "<< OK!"
2020
}

installers/download-jdks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,4 @@ function get_jdk {
7878
echo "< OK!"
7979
}
8080

81-
echo "Building JDK with on $1 architecture $2"
8281
get_jdk "$1" "$2"

0 commit comments

Comments
 (0)