Skip to content

Commit 7819f72

Browse files
Copilotvharseko
andauthored
chore: bump GitHub Actions to latest major versions (#48)
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 c76520e commit 7819f72

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 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@v3
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') }}
@@ -36,7 +36,7 @@ jobs:
3636
MAVEN_OPTS: -Dhttps.protocols=TLSv1.2 -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.retryHandler.count=10
3737
run: mvn --batch-mode --errors --update-snapshots verify --file pom.xml -P integration-test
3838
- name: Upload artifacts
39-
uses: actions/upload-artifact@v4
39+
uses: actions/upload-artifact@v7
4040
with:
4141
name: ${{ matrix.os }}-${{ matrix.java }}
4242
retention-days: 5

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ jobs:
1515
env:
1616
GITHUB_CONTEXT: ${{ toJSON(github) }}
1717
run: echo "$GITHUB_CONTEXT"
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
with:
2020
fetch-depth: 0
2121
submodules: recursive
2222
ref: ${{ github.event.workflow_run.head_branch }}
2323
- name: Set up Java for publishing to Maven Central Repository OSS
24-
uses: actions/setup-java@v3
24+
uses: actions/setup-java@v5
2525
with:
2626
java-version: ${{ github.event.workflow_run.head_branch == 'sustaining/4.2.x' && '8' || '11'}}
2727
distribution: 'temurin'
2828
server-id: ossrh
2929
server-username: MAVEN_USERNAME
3030
server-password: MAVEN_PASSWORD
3131
- name: Cache Maven packages
32-
uses: actions/cache@v4
32+
uses: actions/cache@v5
3333
with:
3434
path: ~/.m2/repository
3535
key: ${{ runner.os }}-m2-repository-${{ hashFiles('**/pom.xml') }}
@@ -56,12 +56,12 @@ jobs:
5656
if: ${{ github.event.workflow_run.event=='push' && env.MAVEN_USERNAME!='' && env.MAVEN_PASSWORD!=''}}
5757
run: mvn --batch-mode --errors --update-snapshots -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy --file pom.xml
5858
- name: Upload artifacts OpenAM-J2EE Distribution Kit, containing all distributable artifacts
59-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@v7
6060
with:
6161
name: OpenAM Java Policy Agent (JAR with External Libraries)
6262
path: jee-agents-distribution/jee-agents-distribution-jar-with-lib/target/*.zip
6363
- name: Upload artifacts OpenAM-J2EE Distribution Kit, containing all distributable artifacts
64-
uses: actions/upload-artifact@v4
64+
uses: actions/upload-artifact@v7
6565
with:
6666
name: OpenAM Java Policy Agent (Uber JAR)
6767
path: jee-agents-distribution/jee-agents-distribution-uberjar/target/*.zip

.github/workflows/release.yml

Lines changed: 3 additions & 3 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@v3
27+
uses: actions/setup-java@v5
2828
with:
2929
java-version: ${{ github.event.workflow_run.head_branch == 'sustaining/4.2.x' && '8' || '11'}}
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') }}

0 commit comments

Comments
 (0)