Skip to content

Commit 45668e5

Browse files
authored
Updates (#8)
* fix workflow and scripts to also not use deprecated set-output * bump versions of actions in some workflows * use github outputs context * OUTPUT not OUTPUTS * output wrong for source tag * bump version of another action and fix outputs again
1 parent d38eea7 commit 45668e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: |
4747
version=$(cat package.json | jq '.version' --raw-output)
4848
echo "Version: v${version}"
49-
echo "version=v${version}" >> $GITHUB_ENV
49+
echo "version=v${version}" >> "$GITHUB_OUTPUT"
5050
5151
- name: Check if release exists
5252
id: release-check
@@ -71,7 +71,7 @@ jobs:
7171
if: needs.release-check.outputs.release_exists == 'false'
7272
steps:
7373
- name: Release
74-
uses: softprops/action-gh-release@v1
74+
uses: softprops/action-gh-release@v2
7575
with:
7676
name: ${{ needs.release-check.outputs.version }}
7777
tag_name: ${{ needs.release-check.outputs.version }}

0 commit comments

Comments
 (0)