Use proper syntax for assigning job outputs.

This commit is contained in:
Andrew Lalis 2023-06-23 21:14:07 +02:00
parent 99c73fc941
commit 7a516faf30
1 changed files with 7 additions and 2 deletions

View File

@ -25,11 +25,16 @@ jobs:
run: | run: |
mvn -B package --file pom.xml mvn -B package --file pom.xml
asset=$(find target/ -type f -name "*jar-with-dependencies.jar") asset=$(find target/ -type f -name "*jar-with-dependencies.jar")
echo "name=asset_path::$asset" >> $GITHUB_OUTPUT echo "asset_path=$asset" >> $GITHUB_OUTPUT
- name: Extract Tag Version - name: Extract Tag Version
id: get_version id: get_version
run: echo "name=tag_version::${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT run: echo "tag_version=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: Logs
run: |
echo "Version: ${{steps.get_version.outputs.tag_version}}"
echo "Asset: ${{steps.build.outputs.asset_path}}"
- name: Create Release - name: Create Release
id: create_release id: create_release