Update used third-party github actions
This commit is contained in:
11
.github/workflows/build-on-commit.yaml
vendored
11
.github/workflows/build-on-commit.yaml
vendored
@@ -7,9 +7,14 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v1
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
#cache: 'gradle'
|
||||
|
||||
- name: Build sources
|
||||
run: ./gradlew build
|
||||
|
||||
|
||||
7
.github/workflows/publish-binaries.yaml
vendored
7
.github/workflows/publish-binaries.yaml
vendored
@@ -26,14 +26,15 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v1
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
#cache: 'gradle'
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew jpackageZip
|
||||
|
||||
|
||||
- run: echo "OR_TARGET_NAME=linux-x64" >> $GITHUB_ENV
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user