Skip to content

Commit 0065483

Browse files
Copilotvharseko
andauthored
chore: bump GitHub Actions to latest versions (#143)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
1 parent 518b09b commit 0065483

3 files changed

Lines changed: 40 additions & 40 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
1414
fail-fast: false
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
with:
1818
fetch-depth: 0
1919
submodules: recursive
2020
- name: Java ${{ matrix.Java }} (${{ matrix.os }})
21-
uses: actions/setup-java@v4
21+
uses: actions/setup-java@v5
2222
with:
2323
java-version: ${{ matrix.java }}
2424
distribution: 'zulu'
2525
- name: Cache Maven packages
26-
uses: actions/cache@v4
26+
uses: actions/cache@v5
2727
with:
2828
path: ~/.m2/repository
2929
key: ${{ runner.os }}-m2-repository-${{ hashFiles('**/pom.xml') }}
@@ -56,15 +56,15 @@ jobs:
5656
type logs\openidm0.log.0 | find /c '"ERROR"' | findstr "0"
5757
type logs\openidm0.log.0 | find /c '"SEVERE"' | findstr "0"
5858
- name: Upload failure artifacts
59-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@v7
6060
if: ${{ failure() }}
6161
with:
6262
name: failure-${{ matrix.os }}-${{ matrix.java }}
6363
retention-days: 1
6464
path: |
6565
**
6666
- name: Upload artifacts
67-
uses: actions/upload-artifact@v4
67+
uses: actions/upload-artifact@v7
6868
with:
6969
name: ${{ matrix.os }}-${{ matrix.java }}
7070
retention-days: 5
@@ -78,7 +78,7 @@ jobs:
7878
ports:
7979
- 5000:5000
8080
steps:
81-
- uses: actions/checkout@v4
81+
- uses: actions/checkout@v6
8282
with:
8383
fetch-depth: 0
8484
- name: Get latest release version
@@ -88,20 +88,20 @@ jobs:
8888
echo "release_version=$git_version_last" >> $GITHUB_ENV
8989
- name: Docker meta
9090
id: meta
91-
uses: docker/metadata-action@v5
91+
uses: docker/metadata-action@v6
9292
with:
9393
images: |
9494
localhost:5000/${{ github.repository }}
9595
tags: |
9696
type=raw,value=${{ env.release_version }}
9797
- name: Set up QEMU
98-
uses: docker/setup-qemu-action@v3
98+
uses: docker/setup-qemu-action@v4
9999
- name: Set up Docker Buildx
100-
uses: docker/setup-buildx-action@v3
100+
uses: docker/setup-buildx-action@v4
101101
with:
102102
driver-opts: network=host
103103
- name: Build image (default)
104-
uses: docker/build-push-action@v5
104+
uses: docker/build-push-action@v7
105105
continue-on-error: true
106106
with:
107107
context: .
@@ -125,7 +125,7 @@ jobs:
125125
ports:
126126
- 5000:5000
127127
steps:
128-
- uses: actions/checkout@v4
128+
- uses: actions/checkout@v6
129129
with:
130130
fetch-depth: 0
131131
- name: Get latest release version
@@ -135,22 +135,22 @@ jobs:
135135
echo "release_version=$git_version_last" >> $GITHUB_ENV
136136
- name: Docker meta
137137
id: meta
138-
uses: docker/metadata-action@v5
138+
uses: docker/metadata-action@v6
139139
with:
140140
images: |
141141
localhost:5000/${{ github.repository }}
142142
tags: |
143143
type=raw,value=alpine
144144
type=raw,value=${{ env.release_version }}-alpine
145145
- name: Set up QEMU
146-
uses: docker/setup-qemu-action@v3
146+
uses: docker/setup-qemu-action@v4
147147
- name: Set up Docker Buildx
148-
uses: docker/setup-buildx-action@v3
148+
uses: docker/setup-buildx-action@v4
149149
with:
150150
driver-opts: network=host
151151
- name: Build image
152152
continue-on-error: true
153-
uses: docker/build-push-action@v5
153+
uses: docker/build-push-action@v7
154154
with:
155155
context: .
156156
file: ./Dockerfile-alpine

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ jobs:
1616
env:
1717
GITHUB_CONTEXT: ${{ toJSON(github) }}
1818
run: echo "$GITHUB_CONTEXT"
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
2222
submodules: recursive
2323
ref: ${{ github.event.workflow_run.head_branch }}
2424
- name: Set up Java for publishing to Maven Central Repository OSS
25-
uses: actions/setup-java@v4
25+
uses: actions/setup-java@v5
2626
with:
2727
java-version: ${{ github.event.workflow_run.head_branch == 'sustaining/6.3.x' && '8' || '17'}}
2828
distribution: 'temurin'
2929
server-id: ossrh
3030
server-username: MAVEN_USERNAME
3131
server-password: MAVEN_PASSWORD
3232
- name: Cache Maven packages
33-
uses: actions/cache@v4
33+
uses: actions/cache@v5
3434
with:
3535
path: ~/.m2/repository
3636
key: ${{ runner.os }}-m2-repository-${{ hashFiles('**/pom.xml') }}
@@ -63,7 +63,7 @@ jobs:
6363
-pl '-:openidm-ui-api,-:openidm-ui-common,-:openidm-ui-enduser' \
6464
-pl '-:openidm-zip'
6565
- name: Upload artifacts
66-
uses: actions/upload-artifact@v4
66+
uses: actions/upload-artifact@v7
6767
with:
6868
name: OpenIDM
6969
path: openidm-zip/target/*.zip
@@ -73,7 +73,7 @@ jobs:
7373
git config --global user.name "Open Identity Platform Community"
7474
git config --global user.email "open-identity-platform-opendj@googlegroups.com"
7575
cd ..
76-
- uses: actions/checkout@v4
76+
- uses: actions/checkout@v6
7777
continue-on-error: true
7878
with:
7979
repository: ${{ github.repository }}.wiki
@@ -93,7 +93,7 @@ jobs:
9393
git commit -a -m "upload docs after deploy ${{ github.sha }}"
9494
git push --quiet --force
9595
96-
- uses: actions/checkout@v4
96+
- uses: actions/checkout@v6
9797
continue-on-error: true
9898
with:
9999
repository: OpenIdentityPlatform/doc.openidentityplatform.org

.github/workflows/release.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ jobs:
1919
env:
2020
GITHUB_CONTEXT: ${{ toJSON(github) }}
2121
run: echo "$GITHUB_CONTEXT"
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0
2525
submodules: recursive
2626
- name: Set up Java for publishing to Maven Central Repository OSS
27-
uses: actions/setup-java@v4
27+
uses: actions/setup-java@v5
2828
with:
2929
java-version: ${{ github.event.workflow_run.head_branch == 'sustaining/6.3.x' && '8' || '17'}}
3030
distribution: 'temurin'
3131
server-id: ossrh
3232
server-username: MAVEN_USERNAME
3333
server-password: MAVEN_PASSWORD
3434
- name: Cache Maven packages
35-
uses: actions/cache@v4
35+
uses: actions/cache@v5
3636
with:
3737
path: ~/.m2/repository
3838
key: ${{ runner.os }}-m2-repository-${{ hashFiles('**/pom.xml') }}
@@ -70,7 +70,7 @@ jobs:
7070
files: |
7171
target/checkout/openidm-zip/target/*.zip
7272
73-
- uses: actions/checkout@v4
73+
- uses: actions/checkout@v6
7474
continue-on-error: true
7575
with:
7676
repository: ${{ github.repository }}.wiki
@@ -93,7 +93,7 @@ jobs:
9393
git push --quiet --force
9494
git push --quiet --force origin ${{ github.event.inputs.releaseVersion }}
9595
96-
- uses: actions/checkout@v4
96+
- uses: actions/checkout@v6
9797
continue-on-error: true
9898
with:
9999
repository: OpenIdentityPlatform/doc.openidentityplatform.org
@@ -115,14 +115,14 @@ jobs:
115115
needs:
116116
- release-maven
117117
steps:
118-
- uses: actions/checkout@v4
118+
- uses: actions/checkout@v6
119119
with:
120120
ref: ${{ github.event.inputs.releaseVersion }}
121121
fetch-depth: 1
122122
submodules: recursive
123123
- name: Docker meta
124124
id: meta
125-
uses: docker/metadata-action@v5
125+
uses: docker/metadata-action@v6
126126
with:
127127
images: |
128128
${{ github.repository }}
@@ -131,22 +131,22 @@ jobs:
131131
type=raw,value=latest
132132
type=raw,value=${{ github.event.inputs.releaseVersion }}
133133
- name: Set up QEMU
134-
uses: docker/setup-qemu-action@v3
134+
uses: docker/setup-qemu-action@v4
135135
- name: Set up Docker Buildx
136-
uses: docker/setup-buildx-action@v3
136+
uses: docker/setup-buildx-action@v4
137137
- name: Login to DockerHub
138-
uses: docker/login-action@v3
138+
uses: docker/login-action@v4
139139
with:
140140
username: ${{ secrets.DOCKER_USERNAME }}
141141
password: ${{ secrets.DOCKER_PASSWORD }}
142142
- name: Login to GHCR
143-
uses: docker/login-action@v3
143+
uses: docker/login-action@v4
144144
with:
145145
registry: ghcr.io
146146
username: ${{ github.repository_owner }}
147147
password: ${{ secrets.GITHUB_TOKEN }}
148148
- name: Build and push image
149-
uses: docker/build-push-action@v5
149+
uses: docker/build-push-action@v7
150150
continue-on-error: true
151151
with:
152152
context: .
@@ -163,14 +163,14 @@ jobs:
163163
needs:
164164
- release-maven
165165
steps:
166-
- uses: actions/checkout@v4
166+
- uses: actions/checkout@v6
167167
with:
168168
ref: ${{ github.event.inputs.releaseVersion }}
169169
fetch-depth: 1
170170
submodules: recursive
171171
- name: Docker meta
172172
id: meta
173-
uses: docker/metadata-action@v5
173+
uses: docker/metadata-action@v6
174174
with:
175175
images: |
176176
${{ github.repository }}
@@ -179,23 +179,23 @@ jobs:
179179
type=raw,value=alpine
180180
type=raw,value=${{ github.event.inputs.releaseVersion }}-alpine
181181
- name: Set up QEMU
182-
uses: docker/setup-qemu-action@v3
182+
uses: docker/setup-qemu-action@v4
183183
- name: Set up Docker Buildx
184-
uses: docker/setup-buildx-action@v3
184+
uses: docker/setup-buildx-action@v4
185185
- name: Login to DockerHub
186-
uses: docker/login-action@v3
186+
uses: docker/login-action@v4
187187
with:
188188
username: ${{ secrets.DOCKER_USERNAME }}
189189
password: ${{ secrets.DOCKER_PASSWORD }}
190190
- name: Login to GHCR
191-
uses: docker/login-action@v3
191+
uses: docker/login-action@v4
192192
with:
193193
registry: ghcr.io
194194
username: ${{ github.repository_owner }}
195195
password: ${{ secrets.GITHUB_TOKEN }}
196196
- name: Build and push image
197197
continue-on-error: true
198-
uses: docker/build-push-action@v5
198+
uses: docker/build-push-action@v7
199199
with:
200200
context: .
201201
file: ./Dockerfile-alpine

0 commit comments

Comments
 (0)