Skip to content

Commit

Permalink
Add release_asset_dir to github output
Browse files Browse the repository at this point in the history
  • Loading branch information
lslqtz committed Jan 28, 2024
1 parent 83def19 commit f572e7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ inputs:
default: 'TRUE'

outputs:
release_asset_dir:
description: 'Release file directory provided for use by other workflows'
release_asset_file:
description: 'Release file name provided for use by other workflows'
release_asset_path:
Expand Down
1 change: 1 addition & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,6 @@ if [ ! -z "${INPUT_POST_COMMAND}" ]; then
fi

# output path for use by other workflows (e.g.: actions/upload-artifact)
echo "release_asset_dir=${INPUT_PROJECT_PATH}/${BUILD_ARTIFACTS_FOLDER}" >> "${GITHUB_OUTPUT}"
echo "release_asset_file=${RELEASE_ASSET_FILE}" >> "${GITHUB_OUTPUT}"
echo "release_asset_path=${INPUT_PROJECT_PATH}/${BUILD_ARTIFACTS_FOLDER}/${RELEASE_ASSET_FILE}" >> "${GITHUB_OUTPUT}"

0 comments on commit f572e7b

Please sign in to comment.