Skip to content

Commit

Permalink
Update basic github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aaime committed Sep 27, 2023
1 parent 22e5500 commit f9dbb91
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
backport:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
name: Backport
steps:
- name: Backport Bot
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:

steps:
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
- uses: actions/checkout@v1
distribution: 'temurin'
- uses: actions/checkout@v4
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gwc-integration-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
21 changes: 12 additions & 9 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ jobs:
openjdk11:
runs-on: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -30,13 +31,14 @@ jobs:
openjdk17:
runs-on: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -51,13 +53,14 @@ jobs:
QA:
runs-on: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ jobs:
runs-on: [macos-latest]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gs-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ jobs:
runs-on: [windows-latest]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down

0 comments on commit f9dbb91

Please sign in to comment.