Skip to content

Commit b9e8b22

Browse files
Remove repository_dispatch from update-cli, fix set-output
1 parent aa704aa commit b9e8b22

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/update-cli.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ on:
66
new_cli_version:
77
description: 'New CLI version (optional)'
88
required: false
9-
repository_dispatch:
10-
types: [cli-version-update]
119

1210
permissions:
1311
contents: read
@@ -29,8 +27,8 @@ jobs:
2927
LATEST_VERSION=$(curl -sL https://api.github.com/repos/Checkmarx/ast-cli/releases/latest | jq -r ".tag_name")
3028
fi
3129
CURRENT_VERSION=$(<checkmarx-ast-cli.version)
32-
echo ::set-output name=release_tag::$LATEST_VERSION
33-
echo ::set-output name=current_tag::$CURRENT_VERSION
30+
echo "release_tag=$LATEST_VERSION" >> $GITHUB_OUTPUT
31+
echo "current_tag=$CURRENT_VERSION" >> $GITHUB_OUTPUT
3432
3533
# Update the version file if the latest version differs
3634
- name: Update Checkmarx CLI version in version file

0 commit comments

Comments
 (0)