Skip to content

Commit

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

- name: Maven release and deploy to GitHub packages
id: release_jar
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
mvn --batch-mode -P ssb-bip package
ARTIFACT_ID=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)
echo "artifact_id=${ARTIFACT_ID}" >> $GITHUB_OUTPUT
ARTIFACT_PATH=$(realpath ./target/$ARTIFACT_ID*.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

0 comments on commit a7a8d75

Please sign in to comment.