Skip to content

Commit

Permalink
Merge pull request #108 from sjinks/fix-set-output
Browse files Browse the repository at this point in the history
fix: Replace deprecated `set-output` command
  • Loading branch information
jeffpaul authored Oct 17, 2022
2 parents 91f8f39 + e725aa2 commit 85f6dac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
BRANCH=${GITHUB_REF##*/}
echo $BRANCH
VERSION=${BRANCH#'release/'}
echo ::set-output name=result::"Release: ${VERSION}"
echo "result=Release: ${VERSION}" >> "${GITHUB_OUTPUT}"
id: title
- name: Create Pull Request
run: gh pr create --title "${{ steps.title.outputs.result }}" --body-file ./.github/release-pull-request-template.md
Expand Down
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ if $INPUT_GENERATE_ZIP; then
echo "Generating zip file..."
cd "$SVN_DIR/trunk" || exit
zip -r "${GITHUB_WORKSPACE}/${SLUG}.zip" .
echo "::set-output name=zip-path::${GITHUB_WORKSPACE}/${SLUG}.zip"
echo "zip-path=${GITHUB_WORKSPACE}/${SLUG}.zip" >> "${GITHUB_OUTPUT}"
echo "✓ Zip file generated!"
fi

Expand Down

0 comments on commit 85f6dac

Please sign in to comment.