Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
set-output
1 parent 354cb62 commit 0667fb0Copy full SHA for 0667fb0
.github/workflows/release.yml
@@ -23,7 +23,7 @@ jobs:
23
24
- name: Get version from tag
25
id: tag_name
26
- run: echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
+ run: echo "current_version=${GITHUB_REF#refs/tags/v}" >> "$GITHUB_OUTPUT"
27
shell: bash
28
29
- uses: actions/checkout@v3
@@ -42,7 +42,10 @@ jobs:
42
_links="${_links//$'\n'/'%0A'}"
43
_links="${_links//$'\r'/'%0D'}"
44
# Set output 'links' to $_links
45
- echo "::set-output name=links::${_links}"
+ DELIMITER=$(uuidgen)
46
+ echo "links<<${DELIMITER}" >> "${GITHUB_OUTPUT}"
47
+ echo "$_links" >> "${GITHUB_OUTPUT}"
48
+ echo "${DELIMITER}" >> "${GITHUB_OUTPUT}"
49
50
- uses: softprops/action-gh-release@v1
51
with:
0 commit comments