Skip to content

Commit 2a79d3e

Browse files
committed
fix(ci): change set-output command
Signed-off-by: Daniel Boll <[email protected]>
1 parent 5ff4d6a commit 2a79d3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ jobs:
3131
should_publish: ${{ steps.check-commit.outputs.should_publish }}
3232
steps:
3333
- name: Checkout code
34-
uses: actions/checkout@v2
34+
uses: actions/checkout@v4
3535
- name: Check commit message for version
3636
id: check-commit
3737
run: |
3838
commit_msg=$(git log --format=%B -n 1)
3939
if [[ $commit_msg =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
40-
echo "::set-output name=should_publish::true"
40+
echo "should_publish=true" >> $GITHUB_OUTPUT
4141
else
42-
echo "::set-output name=should_publish::false"
42+
echo "should_publish=false" >> $GITHUB_OUTPUT
4343
fi
4444
build:
4545
if: needs.check-version-in-commit.outputs.should_publish == 'true'

0 commit comments

Comments
 (0)