Skip to content

Commit

Permalink
[actions] release: Replace set-output commands with environment files
Browse files Browse the repository at this point in the history
  • Loading branch information
xt0rted authored and ljharb committed Jul 19, 2023
1 parent 354cb62 commit 0667fb0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Get version from tag
id: tag_name
run: echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
run: echo "current_version=${GITHUB_REF#refs/tags/v}" >> "$GITHUB_OUTPUT"
shell: bash

- uses: actions/checkout@v3
Expand All @@ -42,7 +42,10 @@ jobs:
_links="${_links//$'\n'/'%0A'}"
_links="${_links//$'\r'/'%0D'}"
# Set output 'links' to $_links
echo "::set-output name=links::${_links}"
DELIMITER=$(uuidgen)
echo "links<<${DELIMITER}" >> "${GITHUB_OUTPUT}"
echo "$_links" >> "${GITHUB_OUTPUT}"
echo "${DELIMITER}" >> "${GITHUB_OUTPUT}"
- uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 0667fb0

Please sign in to comment.