Skip to content

Commit 2fa719b

Browse files
Copilotjwijgerd
andauthored
Update all GitHub Actions to latest versions (#156)
* Initial plan * Initial plan for updating GitHub Actions versions Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> * Update all GitHub Actions to latest versions Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> * Use only major versions for GitHub Actions Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com>
1 parent daadd3d commit 2fa719b

6 files changed

Lines changed: 46 additions & 8 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050

5151
steps:
5252
- name: Checkout repository
53-
uses: actions/checkout@v4
53+
uses: actions/checkout@v5
5454

5555
# Initializes the CodeQL tools for scanning.
5656
- name: Initialize CodeQL
@@ -65,7 +65,7 @@ jobs:
6565
# queries: security-extended,security-and-quality
6666

6767
- name: Set up JDK 21
68-
uses: actions/setup-java@v4
68+
uses: actions/setup-java@v5
6969
with:
7070
distribution: temurin
7171
java-version: 21

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
# If you do not check out your code, Copilot will do this for you.
2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030
- name: Set up JDK 21
31-
uses: actions/setup-java@v4
31+
uses: actions/setup-java@v5
3232
with:
3333
distribution: temurin
3434
java-version: 21

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
pull-requests: read
1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222
- name: Set up JDK 21
23-
uses: actions/setup-java@v4
23+
uses: actions/setup-java@v5
2424
with:
2525
distribution: temurin
2626
java-version: 21

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout code
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v5
3636
- name: Set up JDK 21
37-
uses: actions/setup-java@v4
37+
uses: actions/setup-java@v5
3838
with:
3939
distribution: temurin
4040
java-version: 21

settings.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
4+
<servers>
5+
<server>
6+
<id>github</id>
7+
<username>${env.GITHUB_ACTOR}</username>
8+
<password>${env.GITHUB_TOKEN}</password>
9+
</server>
10+
</servers>
11+
</settings>

toolchains.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0"?>
2+
<toolchains xmlns="http://maven.apache.org/TOOLCHAINS/1.1.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/TOOLCHAINS/1.1.0 https://maven.apache.org/xsd/toolchains-1.1.0.xsd">
5+
<toolchain>
6+
<type>jdk</type>
7+
<provides>
8+
<version>21</version>
9+
<vendor>temurin</vendor>
10+
<id>temurin_21</id>
11+
</provides>
12+
<configuration>
13+
<jdkHome>/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64</jdkHome>
14+
</configuration>
15+
</toolchain>
16+
<toolchain>
17+
<type>jdk</type>
18+
<provides>
19+
<version>21</version>
20+
<vendor>temurin</vendor>
21+
<id>temurin_21</id>
22+
</provides>
23+
<configuration>
24+
<jdkHome>/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64</jdkHome>
25+
</configuration>
26+
</toolchain>
27+
</toolchains>

0 commit comments

Comments
 (0)