Browse Source

Update used third-party github actions

master
Abe Pazos 2 years ago
committed by Edwin Jakobs
parent
commit
6944998cb6
  1. 11
      .github/workflows/build-on-commit.yaml
  2. 7
      .github/workflows/publish-binaries.yaml

11
.github/workflows/build-on-commit.yaml

@ -7,9 +7,14 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with: with:
java-version: 17 distribution: 'temurin'
java-version: '17'
#cache: 'gradle'
- name: Build sources - name: Build sources
run: ./gradlew build run: ./gradlew build

7
.github/workflows/publish-binaries.yaml

@ -26,14 +26,15 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up JDK 17 - name: Set up JDK 17
uses: actions/setup-java@v1 uses: actions/setup-java@v3
with: with:
java-version: 17 distribution: 'temurin'
java-version: '17'
#cache: 'gradle'
- name: Build with Gradle - name: Build with Gradle
run: ./gradlew jpackageZip run: ./gradlew jpackageZip
- run: echo "OR_TARGET_NAME=linux-x64" >> $GITHUB_ENV - run: echo "OR_TARGET_NAME=linux-x64" >> $GITHUB_ENV
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'

Loading…
Cancel
Save