Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Skaar, Bjørn-Andre committed Nov 9, 2023
1 parent 0490930 commit 0b89912
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,23 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Maven release and deploy to GitHub packages
- name: Maven release
id: release_jar
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
mvn --batch-mode -P ssb-bip package
- name: Upload assets to GitHub release
id: upload_jars
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
ARTIFACT_ID=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "artifact_id=${ARTIFACT_ID}" >> $GITHUB_OUTPUT
ARTIFACT_PATH=$(realpath ./target/$ARTIFACT_ID-$VERSION.jar)
echo ${ARTIFACT_PATH}
ls -al ${ARTIFACT_PATH}
echo -n "artifact_path=${ARTIFACT_PATH}" >> $GITHUB_OUTPUT
- name: Build with Maven and deploy to Artifact Registry
run: mvn --batch-mode -P ssb-bip deploy

gh release list

0 comments on commit 0b89912

Please sign in to comment.