Skip to content

Commit 5bc90bf

Browse files
Merge pull request #466 from oss-slu/465-use-semantic-versioning-in-git-tags-and-set-semantic-version-number
Rename Git tags and correct `./gradlew properties` working directory
2 parents 400cb4b + 2744174 commit 5bc90bf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-reusable.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,18 @@ jobs:
9797
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
9898
- name: Read library version
9999
id: read_version
100-
working-directory: pi4micronaut-utils
100+
working-directory: .
101101
run: |
102102
VERSION=$(./gradlew properties | grep "^version:" | awk '{print $2}')
103103
echo "version=$VERSION" >> $GITHUB_OUTPUT
104104
- name: Download built JAR
105105
uses: actions/download-artifact@v4
106106
with:
107107
name: micronaut-jar
108-
path: build/libs
108+
path: pi4micronaut-utils/build/libs
109109
- name: Create GitHub Release
110110
run: |
111111
gh release create "${{ steps.read_version.outputs.version }}" \
112112
--verify-tag \
113113
--generate-notes \
114-
"build/libs/pi4micronaut-utils-${{ steps.read_version.outputs.version }}-all.jar"
114+
"pi4micronaut-utils/build/libs/pi4micronaut-utils-${{ steps.read_version.outputs.version }}-all.jar"

0 commit comments

Comments
 (0)