Skip to content

Commit 85f6dac

Browse files
authored
Merge pull request #108 from sjinks/fix-set-output
fix: Replace deprecated `set-output` command
2 parents 91f8f39 + e725aa2 commit 85f6dac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
BRANCH=${GITHUB_REF##*/}
1515
echo $BRANCH
1616
VERSION=${BRANCH#'release/'}
17-
echo ::set-output name=result::"Release: ${VERSION}"
17+
echo "result=Release: ${VERSION}" >> "${GITHUB_OUTPUT}"
1818
id: title
1919
- name: Create Pull Request
2020
run: gh pr create --title "${{ steps.title.outputs.result }}" --body-file ./.github/release-pull-request-template.md

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ if $INPUT_GENERATE_ZIP; then
159159
echo "Generating zip file..."
160160
cd "$SVN_DIR/trunk" || exit
161161
zip -r "${GITHUB_WORKSPACE}/${SLUG}.zip" .
162-
echo "::set-output name=zip-path::${GITHUB_WORKSPACE}/${SLUG}.zip"
162+
echo "zip-path=${GITHUB_WORKSPACE}/${SLUG}.zip" >> "${GITHUB_OUTPUT}"
163163
echo "✓ Zip file generated!"
164164
fi
165165

0 commit comments

Comments
 (0)