Skip to content

Commit

Permalink
Fix GA release workflow (#155)
Browse files Browse the repository at this point in the history
Fix GA release workflow

Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Aug 27, 2024
1 parent 156ecf1 commit f6aa0eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:

jobs:
create_release:
runs-on: ubuntu-20.04 # newest available distribution, aka focal
# Hard-coding an LTS means maintenance, but only once each 2 years!
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -20,6 +21,11 @@ jobs:
# the tag MAJOR.MINOR.PATCH event, but we still need to deploy the maven-release-plugin master commit.
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 1 # only need the base commit as license check isn't run
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: 'zulu' # zulu as it supports a wide version range
java-version: 17
- name: Cache local Maven repository
uses: actions/cache@v2
with:
Expand Down

0 comments on commit f6aa0eb

Please sign in to comment.