Skip to content

Commit

Permalink
Fix build process
Browse files Browse the repository at this point in the history
  • Loading branch information
ahus1 committed Aug 31, 2022
1 parent eca6640 commit 963c808
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@ jobs:
- name: Set version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 1.8
- name: Cache Maven packages
id: cache
uses: actions/cache@v2
distribution: 'temurin'
java-version: '11'
cache: 'maven'
- name: Cache Maven Wrapper
uses: actions/cache@v3
with:
path: |
~/.m2/repository
key: cache-1-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: cache-1-${{ runner.os }}-m2
.mvn/wrapper/maven-wrapper.jar
key: ${{ runner.os }}-maven-wrapper-${{ hashFiles('**/maven-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-maven-wrapper-
- name: Build
run:
mvn clean install
Expand Down Expand Up @@ -69,4 +72,4 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./benchmark/target/keycloak-benchmark-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_name: kcb-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_content_type: application/gzip
asset_content_type: application/gzip

0 comments on commit 963c808

Please sign in to comment.