Skip to content

Commit

Permalink
Merge pull request #13 from mitodl/sar/upload_jar
Browse files Browse the repository at this point in the history
Add a step to upload jar file to release
  • Loading branch information
shaidar authored Nov 14, 2023
2 parents acdcdb9 + 792b819 commit 436f1cb
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/release-ol-spi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,22 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
distribution: 'temurin'

- name: Build with Maven
run: mvn clean install
run: mvn --batch-mode --update-snapshots verify
working-directory: ./ol-keycloak/ol-spi

- name: Copy jar file
run: mkdir staging && cp target/*.jar staging
working-directory: ./ol-keycloak/ol-spi

- name: Upload jar file
uses: actions/upload-artifact@v3
with:
name: Package
path: staging

- name: Create Release
uses: actions/create-release@v1
env:
Expand Down

0 comments on commit 436f1cb

Please sign in to comment.