Skip to content

Commit 30b1ba9

Browse files
committed
update versions of actions
Node.js 20 actions are deprecated
1 parent 68a77ba commit 30b1ba9

10 files changed

Lines changed: 38 additions & 36 deletions

.github/workflows/Shared-Deploy-Snapshot-Components.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ jobs:
4545

4646
steps:
4747
- name: Checkout ${{ github.event.repository.name }}
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v6
4949
with:
5050
path: ${{ github.event.repository.name }}
5151
fetch-depth: 0
5252

5353
- name: Setup Java
54-
uses: actions/setup-java@v4
54+
uses: actions/setup-java@v5
5555
with:
5656
distribution: 'temurin'
5757
java-version: '21'
5858

5959
- name: Setup Maven
60-
uses: s4u/maven-settings-action@v3.1.0
60+
uses: s4u/maven-settings-action@v4
6161
with:
6262
sonatypeSnapshots: false
6363
githubServer: false
@@ -69,7 +69,7 @@ jobs:
6969
}]
7070
7171
- name: Checkout riseclipse-developper
72-
uses: actions/checkout@v4
72+
uses: actions/checkout@v6
7373
with:
7474
repository: riseclipse/riseclipse-developer
7575
path: riseclipse-developer

.github/workflows/Shared-Deploy-Snapshot-Tools.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,20 @@ jobs:
5454

5555
steps:
5656
- name: Checkout ${{ github.event.repository.name }}
57-
uses: actions/checkout@v4
57+
uses: actions/checkout@v6
5858
with:
5959
path: ${{ github.event.repository.name }}
6060
ref: develop
6161
fetch-depth: 0
6262

6363
- name: Setup Java
64-
uses: actions/setup-java@v4
64+
uses: actions/setup-java@v5
6565
with:
6666
distribution: "temurin"
6767
java-version: "21"
6868

6969
- name: Checkout riseclipse-developper
70-
uses: actions/checkout@v4
70+
uses: actions/checkout@v6
7171
with:
7272
repository: riseclipse/riseclipse-developer
7373
path: riseclipse-developer
@@ -119,7 +119,7 @@ jobs:
119119
id: release_artifacts
120120

121121
- name: Send email about this new development version
122-
uses: dawidd6/action-send-mail@v5
122+
uses: dawidd6/action-send-mail@v15
123123
with:
124124
server_address: smtp.gmail.com
125125
# Server port, default 25:

.github/workflows/Shared-Pre-Release-GH.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
run: sudo apt-get install -y rename
4141

4242
- name: Checkout ${{ github.event.repository.name }}
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@v6
4444

4545
- name: Download artifacts
46-
uses: actions/download-artifact@v4
46+
uses: actions/download-artifact@v8
4747
with:
4848
path: ${{ github.workspace }}/artifacts
4949

.github/workflows/Shared-Prepare-Next-Dev-Tools.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,19 @@ jobs:
5151

5252
steps:
5353
- name: Checkout ${{ github.event.repository.name }}
54-
uses: actions/checkout@v4
54+
uses: actions/checkout@v6
5555
with:
5656
path: ${{ github.event.repository.name }}
5757

5858
- name: Checkout riseclipse-developper
59-
uses: actions/checkout@v4
59+
uses: actions/checkout@v6
6060
with:
6161
repository: riseclipse/riseclipse-developer
6262
path: riseclipse-developer
6363
ref: master
6464

6565
- name: Setup Java
66-
uses: actions/setup-java@v4
66+
uses: actions/setup-java@v5
6767
with:
6868
distribution: 'temurin'
6969
java-version: '21'
@@ -124,14 +124,14 @@ jobs:
124124
id: artifact_name
125125

126126
- name: Upload artifact 1
127-
uses: actions/upload-artifact@v4
127+
uses: actions/upload-artifact@v7
128128
with:
129129
name: ${{ steps.artifact_name.outputs.artifact_1_filename }}-${{ steps.get_version.outputs.project_version }}.jar
130130
path: ${{ github.workspace }}/${{ steps.artifact_name.outputs.artifact_1_no_ext }}-${{ steps.get_version.outputs.project_version }}.jar
131131

132132
- name: Upload artifact 2 if exists
133133
if: "${{ inputs.jarPath2 != '' }}"
134-
uses: actions/upload-artifact@v4
134+
uses: actions/upload-artifact@v7
135135
with:
136136
name: ${{ steps.artifact_name.outputs.artifact_2_filename }}-${{ steps.get_version.outputs.project_version }}.jar
137137
path: ${{ github.workspace }}/${{ steps.artifact_name.outputs.artifact_2_no_ext }}-${{ steps.get_version.outputs.project_version }}.jar
@@ -155,7 +155,7 @@ jobs:
155155
git commit -m "[actions] prepare next development version ${{ github.event.repository.name }}-${{ steps.next_version.outputs.project_version }}"
156156
157157
- name: Create Pull Request
158-
uses: peter-evans/create-pull-request@v7
158+
uses: peter-evans/create-pull-request@v8
159159
with:
160160
base: master
161161
branch: do_release

.github/workflows/Shared-Release-On-DockerHub.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ jobs:
5454
run: sudo apt-get install rename
5555

5656
- name: Setup Docker Buildx
57-
uses: docker/setup-buildx-action@v3
57+
uses: docker/setup-buildx-action@v4
5858

5959
# NB: Needs to contain a Dockerfile at root of repository
6060
- name: Checkout ${{ github.event.repository.name }}
61-
uses: actions/checkout@v4
61+
uses: actions/checkout@v6
6262
with:
6363
path: ${{ github.event.repository.name }}
6464

6565
- name: Download artifacts
66-
uses: dawidd6/action-download-artifact@v9
66+
uses: dawidd6/action-download-artifact@v18
6767
with:
6868
github_token: ${{secrets.GITHUB_TOKEN}}
6969
workflow: Pre-Release-and-Prepare-Next-Dev.yml
@@ -76,21 +76,21 @@ jobs:
7676
rename 's/.jar//' *.jar
7777
7878
- name: Log in to Docker Hub
79-
uses: docker/login-action@v3
79+
uses: docker/login-action@v4
8080
with:
8181
username: ${{ secrets.DOCKER_USER }}
8282
password: ${{ secrets.DOCKER_PASSWORD }}
8383

8484
- name: Build and push Docker image with given tag
85-
uses: docker/build-push-action@v6
85+
uses: docker/build-push-action@v7
8686
with:
8787
context: ${{ github.workspace }}/${{ github.event.repository.name }}
8888
push: true
8989
tags: riseclipse/${{ inputs.DOCKER_REPOSITORY }}:${{ inputs.release_version }}
9090

9191
- name: Build and push Docker image with latest tag
9292
if: inputs.release_latest
93-
uses: docker/build-push-action@v6
93+
uses: docker/build-push-action@v7
9494
with:
9595
context: ${{ github.workspace }}/${{ github.event.repository.name }}
9696
push: true

.github/workflows/Shared-Release-On-Maven-Central.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ jobs:
4242

4343
steps:
4444
- name: Checkout ${{ github.event.repository.name }}
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@v6
4646

4747
# Adapted from
4848
# https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-Apache-Maven
4949
- name: Setup Java
50-
uses: actions/setup-java@v4
50+
uses: actions/setup-java@v5
5151
with:
5252
distribution: 'temurin'
5353
java-version: '21'
@@ -88,7 +88,7 @@ jobs:
8888
git push --tags
8989
9090
- name: Create Pull Request
91-
uses: peter-evans/create-pull-request@v7
91+
uses: peter-evans/create-pull-request@v8
9292
with:
9393
base: master
9494
branch: do_release

.github/workflows/Shared-Release-On-RiseClipseWeb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ jobs:
5050
run: sudo apt-get install rename
5151

5252
- name: Checkout ${{ github.event.repository.name }}
53-
uses: actions/checkout@v4
53+
uses: actions/checkout@v6
5454
with:
5555
path: ${{ github.event.repository.name }}
5656

5757
- name: Download artifacts
58-
uses: dawidd6/action-download-artifact@v9
58+
uses: dawidd6/action-download-artifact@v18
5959
with:
6060
github_token: ${{secrets.GITHUB_TOKEN}}
6161
workflow: Pre-Release-and-Prepare-Next-Dev.yml

.github/workflows/Shared-Validate-Release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
run: sudo apt-get install -y rename
4343

4444
- name: Checkout ${{ github.event.repository.name }}
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@v6
4646

4747
- name: Download artifact from other workflow
48-
uses: dawidd6/action-download-artifact@v9
48+
uses: dawidd6/action-download-artifact@v18
4949
with:
5050
github_token: ${{secrets.GITHUB_TOKEN}}
5151
workflow: Pre-Release-and-Prepare-Next-Dev.yml
@@ -67,6 +67,8 @@ jobs:
6767
rename 's/.jar//' *.jar
6868
6969
- name: Release artifacts
70+
# The github repository of this action is now archived!
71+
# TODO: find another
7072
uses: ncipollo/release-action@v1
7173
with:
7274
replacesArtifacts: true

.github/workflows/Shared-Verify-Components.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141

4242
steps:
4343
- name: Checkout ${{ github.event.repository.name }}
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@v6
4545
with:
4646
path: ${{ github.event.repository.name }}
4747
fetch-depth: 0
4848

4949
- name: Setup Java
50-
uses: actions/setup-java@v4
50+
uses: actions/setup-java@v5
5151
with:
5252
distribution: 'temurin'
5353
java-version: '21'

.github/workflows/Shared-Verify-Tools.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,20 @@ jobs:
5353

5454
steps:
5555
- name: Checkout ${{ github.event.repository.name }}
56-
uses: actions/checkout@v4
56+
uses: actions/checkout@v6
5757
with:
5858
path: ${{ github.event.repository.name }}
5959
fetch-depth: 0
6060

6161
- name: Setup Java
62-
uses: actions/setup-java@v4
62+
uses: actions/setup-java@v5
6363
with:
6464
distribution: "temurin"
6565
java-version: "21"
6666
cache: "maven"
6767

6868
- name: Checkout riseclipse-developper
69-
uses: actions/checkout@v4
69+
uses: actions/checkout@v6
7070
with:
7171
repository: riseclipse/riseclipse-developer
7272
path: riseclipse-developer
@@ -118,14 +118,14 @@ jobs:
118118
id: artifacts_metadata
119119

120120
- name: Upload artifact 1
121-
uses: actions/upload-artifact@v4
121+
uses: actions/upload-artifact@v7
122122
with:
123123
name: ${{ steps.artifacts_metadata.outputs.artifact_1_filename }}
124124
path: ${{ steps.artifacts_metadata.outputs.artifact_1_path }}
125125

126126
- name: Upload artifact 2 if exists
127127
if: "${{ inputs.jar_path_2 != '' }}"
128-
uses: actions/upload-artifact@v4
128+
uses: actions/upload-artifact@v7
129129
with:
130130
name: ${{ steps.artifacts_metadata.outputs.artifact_2_filename }}
131131
path: ${{ steps.artifacts_metadata.outputs.artifact_2_path }}

0 commit comments

Comments
 (0)