Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/setup-java and actions/cache to remove deprecated warnings #1340

Merged
merged 2 commits into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ runs:
node-version: 16.13.2

- name: "Setup JDK 11"
uses: actions/setup-java@v1
uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc
with:
java-version: 11
distribution: "zulu"

- name: "Set up GOLANG 1.19"
uses: actions/setup-go@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_sonar_analysis_stunner_editors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
pnpm_filter_string: -F @kie-tools/stunner-editors...

- name: "Cache SonarCloud packages"
uses: actions/cache@v1
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar-stunner-editors
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily_dev_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
shell: bash

- name: "Cache Maven packages"
uses: actions/cache@v2
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: ~/.m2
key: ${{ runner.os }}-daily-dev-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/publish_jitexecutor_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ jobs:

- name: "Set up JDK 11"
if: runner.os != 'Windows'
uses: actions/setup-java@v1
uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc
with:
java-version: "11"
distribution: "zulu"

- name: "Set long paths for Windows"
if: runner.os == 'Windows'
Expand All @@ -48,11 +49,11 @@ jobs:
if: runner.os == 'macOS'
run: |
brew install make && \
wget https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.3.0/graalvm-ce-java11-darwin-amd64-21.3.0.tar.gz && \
tar -xzf graalvm-ce-java11-darwin-amd64-21.3.0.tar.gz && \
sudo mv graalvm-ce-java11-21.3.0 /Library/Java/JavaVirtualMachines
export PATH=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.3.0/Contents/Home/bin:$PATH && \
export GRAALVM_HOME=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.3.0/Contents/Home && \
wget https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.0/graalvm-ce-java11-darwin-amd64-22.3.0.tar.gz && \
tar -xzf graalvm-ce-java11-darwin-amd64-22.3.0.tar.gz && \
sudo mv graalvm-ce-java11-22.3.0 /Library/Java/JavaVirtualMachines/graalvm-ce-java11-darwin-amd64-22.3.0
export PATH=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-darwin-amd64-22.3.0/Contents/Home/bin:$PATH && \
export GRAALVM_HOME=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-darwin-amd64-22.3.0/Contents/Home && \
gu install native-image && \
mvn clean package -B -ntp -DskipTests -f ./jitexecutor && mvn clean package -B -ntp -DskipTests -Pnative -am -f ./jitexecutor

Expand Down Expand Up @@ -88,7 +89,7 @@ jobs:
uses: ayltai/setup-graalvm@3789c9412212eb6d435725e49d28e179a46b1aaa
with:
java-version: 11
graalvm-version: 21.3.0
graalvm-version: 22.3.0
native-image: true

- name: "Build Windows"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
ref: ${{ inputs.base_ref }}

- name: "Cache Maven packages"
uses: actions/cache@v2
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: ~/.m2
key: ${{ runner.os }}-dmn-dev-sandbox-deployment-base-image-m2-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -425,7 +425,7 @@ jobs:
ref: gh-pages

- name: "Cache Maven packages"
uses: actions/cache@v2
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: ~/.m2
key: ${{ runner.os }}-release-m2-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -1264,7 +1264,7 @@ jobs:
ref: ${{ inputs.base_ref }}

- name: "Cache Maven packages"
uses: actions/cache@v2
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: ~/.m2
key: ${{ runner.os }}-serverless-logic-sandbox-base-image-m2-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -1382,7 +1382,7 @@ jobs:
ref: gh-pages

- name: "Cache Maven packages"
uses: actions/cache@v2
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: ~/.m2
key: ${{ runner.os }}-serverless-logic-sandbox-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
# https://github.com/actions/runner/pull/1844
- name: "Cache Maven packages (Ubuntu only - see comments in source)"
if: ${{ runner.os == 'Linux' }}
uses: actions/cache@v2
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: ~/.m2
key: ${{ runner.os }}-staging-m2-${{ hashFiles('**/pom.xml') }}
Expand Down