Skip to content

Commit 9ae6190

Browse files
committed
Update release script
1 parent 7960a1e commit 9ae6190

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
fi
4141
4242
- name: Checkout
43-
uses: actions/checkout@v2
43+
uses: actions/checkout@v3
4444
with:
4545
fetch-depth: 0
4646
token: ${{ secrets.CI_TOKEN }}
@@ -62,8 +62,8 @@ jobs:
6262
declare -r NEXT_MANUAL_VERSION="${NEXT_INPUT_VERSION:-$NEXT_TAG_VERSION}"
6363
declare -r NEXT_PATCH_VERSION="$MAJOR.$MINOR.$(( $PATCH + 1 ))"
6464
declare -r NEXT_VERSION="${NEXT_MANUAL_VERSION:-$NEXT_PATCH_VERSION}"
65-
echo ::set-output name=version::$VERSION
66-
echo ::set-output name=next_version::$NEXT_VERSION
65+
echo "version=$VERSION" >> $GITHUB_OUTPUT
66+
echo "next_version=$NEXT_VERSION" >> $GITHUB_OUTPUT
6767
echo -e "VERSION: $VERSION\nNEXT_VERSION: $NEXT_VERSION"
6868
6969
- name: Import GPG key
@@ -141,7 +141,7 @@ jobs:
141141
-f previous_tag_name="v$PREV_VERSION" \
142142
| jq -r '.body')"
143143
declare -r ESCAPED="${NOTES//$'\n'/'%0A'}"
144-
echo ::set-output name=notes::$ESCAPED
144+
echo "notes=$ESCAPED" >> $GITHUB_OUTPUT
145145
146146
- name: Create github release (master only)
147147
if: steps.notes.conclusion == 'success'

0 commit comments

Comments
 (0)