From 7a516faf30a92c4f18832fbd71373575612353e0 Mon Sep 17 00:00:00 2001 From: Andrew Lalis Date: Fri, 23 Jun 2023 21:14:07 +0200 Subject: [PATCH] Use proper syntax for assigning job outputs. --- .github/workflows/make-release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.yml index fec5e5d..b05dfbd 100644 --- a/.github/workflows/make-release.yml +++ b/.github/workflows/make-release.yml @@ -25,11 +25,16 @@ jobs: run: | mvn -B package --file pom.xml 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 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 id: create_release