Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fhoeben committed Dec 19, 2022
1 parent faf5efe commit b8f5f62
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:

jobs:
maven-release:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
outputs:
version: ${{ steps.get-version.outputs.version }}
steps:
- name: Check out Git repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Java and Maven
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'zulu'
Expand All @@ -27,7 +27,7 @@ jobs:
- id: get-version
run: |
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "::set-output name=version::$VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: upload release pom
uses: actions/upload-artifact@v3
Expand All @@ -53,10 +53,10 @@ jobs:

github-release:
needs: [maven-release]
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- name: Check out Git repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: download pom
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -100,13 +100,13 @@ jobs:
update-version:
needs: [github-release]
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Java and Maven
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'zulu'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ on:

jobs:
maven-test:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- name: Check out Git repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Java and Maven
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'zulu'
Expand Down

0 comments on commit b8f5f62

Please sign in to comment.