Skip to content

Commit

Permalink
Fix error iterating over glob files
Browse files Browse the repository at this point in the history
  • Loading branch information
Skaar, Bjørn-Andre committed Nov 10, 2023
1 parent 8337c9c commit 2d83f3d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
mvn --batch-mode -P ssb-bip package -DskipTests
mvn --batch-mode release:prepare -P ssb-bip package -DskipTests -DdryRun=true
mvn --batch-mode release:perform -DdryRun=true
echo "tag=v0.0.11" >> $GITHUB_OUTPUT
- name: Create GitHub release draft
Expand All @@ -75,7 +76,5 @@ jobs:
# Get all files matching the artifact id and version (source, javadoc, etc.)
ARTIFACT_GLOB=(./target/$ARTIFACT_ID-$VERSION*.jar)
for file in "${ARTIFACT_GLOB[@]}"; do
echo ${{ steps.create_github_release.outputs.tag_name }}
echo $file
gh release upload ${{ steps.create_github_release.outputs.tag_name }} $file
done

0 comments on commit 2d83f3d

Please sign in to comment.