Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinayagarwal committed Mar 26, 2021
1 parent b23dee5 commit 077951e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/jpackage.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ REM set MODULES=java.desktop,java.logging,java.naming,java.prefs,java.security.j
--vendor Gluon ^
--verbose ^
--runtime-image app/target/runtime ^
--dest %$INSTALL_DIR% ^
--dest %INSTALL_DIR% ^
--type msi ^
--java-options "--add-opens=javafx.fxml/javafx.fxml=ALL-UNNAMED" ^
--icon app/assets/windows/icon-windows.ico ^
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
echo 123456 | vncpasswd -f > /home/runner/.vnc/passwd
chmod -v 600 /home/runner/.vnc/passwd
vncserver :90 -localhost -nolisten tcp
mvn clean verify
mvn clean verify -X
vncserver -kill :90
4 changes: 2 additions & 2 deletions .github/workflows/kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
- name: Create Kit Jar
run: |
chmod +x gradlew
export DISPLAY=:90
mkdir /home/runner/.vnc
echo 123456 | vncpasswd -f > /home/runner/.vnc/passwd
chmod -v 600 /home/runner/.vnc/passwd
vncserver :90 -localhost -nolisten tcp
./gradlew -i clean :kit:build -PVERSION=$TAG
mvn -q versions:set -DnewVersion=${{ env.TAG }} -DgenerateBackupPoms=false
mvn clean package -Dmaven.test.skip=true -X
vncserver -kill :90
env:
TAG: ${{ steps.variables.outputs.SOURCE_TAG }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Build and package JAR
run: |
mvn -q versions:set -DnewVersion=${{ env.VERSION }} -DgenerateBackupPoms=false
mvn -q package -Dmaven.test.skip=true
mvn -q package -Dmaven.test.skip=true -X
env:
VERSION: ${{ steps.variables.outputs.SOURCE_VERSION }}
- name: Create Bundle using JPackage
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Build and package JAR
run: |
mvn -q versions:set -DnewVersion=${{ env.VERSION }} -DgenerateBackupPoms=false
mvn -q package -Dmaven.test.skip=true
mvn -q package -Dmaven.test.skip=true -X
env:
VERSION: ${{ steps.variables.outputs.SOURCE_VERSION }}
- name: Create Bundle using JPackage
Expand All @@ -51,8 +51,8 @@ jobs:
--type dmg \
--mac-package-identifier com.gluonhq.scenebuilder \
--mac-package-name 'Scene Builder' \
--mac-package-signing-prefix $GLUON_MACSIGN_PREFIX \
--mac-signing-key-user-name $GLUON_MACSIGN_USER \
--mac-package-signing-prefix "$GLUON_MACSIGN_PREFIX" \
--mac-signing-key-user-name "$GLUON_MACSIGN_USER" \
--mac-sign
mv $INSTALL_DIR/SceneBuilder-${{ env.VERSION }}.dmg $INSTALL_DIR/SceneBuilder-${{ env.TAG }}.dmg
ls $INSTALL_DIR
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
shell: cmd
run: |
call mvn versions:set -DnewVersion=${{ env.VERSION }} -DgenerateBackupPoms=false
call mvn package -Dmaven.test.skip=true
call mvn package -Dmaven.test.skip=true -X
env:
VERSION: ${{ steps.variables.outputs.SOURCE_VERSION }}
- name: Create Bundle using JPackage
Expand All @@ -58,7 +58,7 @@ jobs:
certificate: '${{ secrets.WINDOWS_CERTIFICATE }}'
password: '${{ secrets.WINDOWS_PASSWORD }}'
certificatename: '${{ secrets.WINDOWS_CERTNAME }}'
folder: 'app/build'
folder: 'app/target/install'
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 077951e

Please sign in to comment.