-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Node.js 16 actions are deprecated. Please update the following…
… actions to use Node.js 20
- Loading branch information
Andrii_Ostapenko1
authored and
Andrii_Ostapenko1
committed
May 23, 2024
1 parent
8f04efa
commit 2b99ffb
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Prepare branch | ||
run: | | ||
git config user.name github-actions | ||
|
@@ -42,7 +42,7 @@ jobs: | |
os: [ 'ubuntu-20.04'] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- name: Checkout branch (Windows) | ||
|
@@ -60,7 +60,7 @@ jobs: | |
git fetch | ||
git checkout -b workflow-$GITHUB_RUN_ID origin/workflow-$GITHUB_RUN_ID~1 | ||
- name: Setup java | ||
uses: actions/setup-java@v1 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
- name: Build with gradle | ||
|
@@ -73,7 +73,7 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.RELEASE_GITHUB_TOKEN }} | ||
- name: Release branch | ||
|
@@ -92,18 +92,18 @@ jobs: | |
name: Publish Maven | ||
if: ${{ !contains(github.event.head_commit.message, '[skip-ci]') }} | ||
needs: release | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Checkout branch | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git fetch | ||
git checkout -b workflow-$GITHUB_RUN_ID origin/workflow-$GITHUB_RUN_ID~1 | ||
- name: Setup java | ||
uses: actions/setup-java@v1 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 11 | ||
- name: Publish jars | ||
|
@@ -119,10 +119,10 @@ jobs: | |
name: Cleanup | ||
if: ${{ always() && !contains(github.event.head_commit.message, '[skip-ci]') }} | ||
needs: publish | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Cleanup | ||
run: | | ||
git config user.name github-actions | ||
|