Skip to content

Commit

Permalink
Merge pull request #20 from Team-40-IDATT2003/issue-12
Browse files Browse the repository at this point in the history
Issue 12 should be fixed. Replaced bash syntax with proper windows powershell syntax.
  • Loading branch information
etsorens authored Feb 4, 2026
2 parents 1204a9c + d1602f4 commit bb7e837
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/buildOnRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ jobs:
cache: maven

- run: mvn clean package

- name: Set versioned JAR name
run: echo "JAR_NAME=APPLICATION-${GITHUB_REF#refs/tags/}.jar" >> $GITHUB_ENV
shell: pwsh
run: |
$tag = "${{ github.ref_name }}"
echo "JAR_NAME=APPLICATION-$tag.jar" >> $env:GITHUB_ENV
- name: Rename JAR
shell: pwsh
run: mv target/*.jar $env:JAR_NAME

- uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit bb7e837

Please sign in to comment.