Skip to content

Commit

Permalink
Update workflow actions to use Node.js 16
Browse files Browse the repository at this point in the history
  • Loading branch information
neesjanvaneck committed Aug 15, 2023
1 parent 93a6bc9 commit 6be2349
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
distribution: 'temurin'
java-version: 8
- name: Print version
run: gradle printVersion
- name: Build with Gradle
Expand All @@ -29,7 +30,7 @@ jobs:
- name: Generate JavaDoc jar with Gradle
run: gradle javadocjar
- name: Upload package as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Package
path: build/libs
7 changes: 4 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
distribution: 'temurin'
java-version: 8
- name: Build with Gradle
run: gradle build
- name: Publish package to GitHub Packages and the Maven Central Repository
Expand Down

0 comments on commit 6be2349

Please sign in to comment.