Skip to content

Commit

Permalink
1.3.0 Try to fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Prelle committed Oct 31, 2023
1 parent ccc812c commit bd16530
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 25 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,31 +92,31 @@ jobs:

- name: setup-graalvm-ce
uses: taranion/setup-graalvm@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set Release version env variable
run: |
echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
- name: Compile update artifact
run: mvn -s settings.xml package
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Compile update artifact
# run: mvn -s settings.xml package
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload update artifact
continue-on-error: false
uses: garygrossgarten/github-action-scp@release
with:
verbose: true
local: target/commlink6-${{ env.RELEASE_VERSION }}-jar-with-dependencies.jar
remote: /var/www/html/commlink6-updates/linux/commLink6-${{env.RELEASE_VERSION}}.jar
host: eden.rpgframework.de
username: ghcommlink
password: ${{ secrets.DEPLOY_PASSWORD }}
# - name: Upload update artifact
# continue-on-error: false
# uses: garygrossgarten/github-action-scp@release
# with:
# verbose: true
# local: target/commlink6-binary-${{ env.RELEASE_VERSION }}-jar-with-dependencies.jar
# remote: /var/www/html/commlink6-updates/linux/commLink6-${{env.RELEASE_VERSION}}.jar
# host: eden.rpgframework.de
# username: ghcommlink
# password: ${{ secrets.DEPLOY_PASSWORD }}

- name: JPackage
run: mvn jpackage:jpackage
run: mvn -s settings.xml -B jpackage:jpackage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Show result
run: ls target/jpackage
Expand All @@ -136,7 +136,7 @@ jobs:
continue-on-error: false
uses: garygrossgarten/github-action-scp@release
with:
verbose: true
verbose: false
local: target/jpackage/commlink6_${{ env.RELEASE_VERSION }}-1_amd64.deb
remote: /var/www/html/commlink6-builds/linux/CommLink6-jre-${{env.RELEASE_VERSION}}.deb
host: eden.rpgframework.de
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
LANG: "de_DE.UTF-8"

jobs:
compile-osx:
compile-osx-native:
runs-on: macos-latest
steps:
- name: checkout sources
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
username: ghcommlink
password: ${{ secrets.DEPLOY_PASSWORD }}

- name: Upload
- name: Upload APP bundle
continue-on-error: true
uses: garygrossgarten/github-action-scp@release
with:
Expand All @@ -103,10 +103,10 @@ jobs:
- name: checkout sources
uses: actions/checkout@v3

- name: setup-graalvm-ce
uses: taranion/setup-graalvm@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '20'

- name: Set Release version env variable
run: |
Expand All @@ -119,7 +119,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: JPackage
run: mvn jpackage:jpackage@osx
run: mvn -s settings jpackage:jpackage@osx
env:
LANG: en_EN
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ jobs:
needs: [compile-windows-jre]
steps:
- name: Configure Store Credentials
continue-on-error: true
uses: microsoft/store-submission@v1
with:
command: configure
Expand All @@ -184,12 +185,14 @@ jobs:
client-secret: ${{ secrets.CLIENT_SECRET }}

- name: Update Draft Submission
continue-on-error: true
uses: microsoft/store-submission@v1
with:
command: update
product-update: '{"packages":[{"packageUrl":"https://eden.rpgframework.de/commlink6-builds/win/CommLink6-Interpreted-Installer-${{env.RELEASE_VERSION}}.msi","languages":["en"],"architectures":["X64"],"isSilentInstall":true}]}'

- name: Publish Submission
continue-on-error: true
uses: microsoft/store-submission@v1
with:
command: publish
Expand Down

0 comments on commit bd16530

Please sign in to comment.