Skip to content

Commit

Permalink
ci: Use GITHUB_OUTPUT envvar instead of set-output command (linkedin#414
Browse files Browse the repository at this point in the history
)
  • Loading branch information
arunsathiya authored Jan 16, 2024
1 parent c4b5990 commit 88ae866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@master
- name: Get version
id: get_version
run: echo "::set-output name=version::$(grep -Po '\d*\.\d*\.\d*' src/oncall/__init__.py)"
run: echo "version=$(grep -Po '\d*\.\d*\.\d*' src/oncall/__init__.py)" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 88ae866

Please sign in to comment.