Skip to content

Commit

Permalink
Update to java 21 (#80)
Browse files Browse the repository at this point in the history
* Update to java 21

Signed-off-by: Prabhu Subramanian <[email protected]>

* Remove unnecessary shasum for test

Signed-off-by: Prabhu Subramanian <[email protected]>

* Remove unnecessary shasum for test

Signed-off-by: Prabhu Subramanian <[email protected]>

---------

Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu authored Sep 22, 2023
1 parent 8c305d3 commit c8b9eeb
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 20 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/nodejstests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
java-version: ['19']
node-version: [20.x]
java-version: ['17', '19', '20', '21']
node-version: ['20.x']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -40,11 +40,10 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
- run: |
sbt stage assembly createDistribution
sha512sum target/atom.zip > target/atom.zip.sha512
cd wrapper/nodejs
bash build.sh
sudo npm install -g .
Expand All @@ -62,8 +61,8 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
java-version: ['19']
node-version: [20.x]
java-version: ['17', '19', '20', '21']
node-version: ['20.x']
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -94,7 +93,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
- name: build
shell: pwsh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
distribution: 'zulu'
java-version: '19'
- name: Release
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 19
distribution: 'zulu'
java-version: '21'
- run: |
sbt stage astGenDlTask
./atom.sh -o /tmp/java.atom -l java $GITHUB_WORKSPACE/repotests/shiftleft-java-example -Dlog4j.configurationFile=log4j2.xml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '19'
distribution: 'zulu'
java-version: '21'
- run: |
sbt stage astGenDlTask assembly createDistribution publish
sha512sum target/atom.zip > target/atom.zip.sha512
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/repotests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java-version: ['17', '19', '20']
java-version: ['17', '19', '20', '21']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
- run: |
sbt stage astGenDlTask
Expand Down
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name := "atom"
ThisBuild / organization := "io.appthreat"
ThisBuild / version := "1.2.0"
ThisBuild / scalaVersion := "3.3.0"
ThisBuild / version := "1.2.2"
ThisBuild / scalaVersion := "3.3.1"

val chenVersion = "0.0.5"
val chenVersion = "0.0.6"

lazy val atom = Projects.atom

Expand Down
4 changes: 2 additions & 2 deletions wrapper/nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wrapper/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@appthreat/atom",
"version": "1.2.1",
"version": "1.2.2",
"description": "Create atom (⚛) representation for your application, packages and libraries",
"exports": "./index.js",
"type": "module",
Expand Down

0 comments on commit c8b9eeb

Please sign in to comment.