Skip to content

Commit 7edfd84

Browse files
authored
Merge pull request #111 from xt0rted/xt0rted-patch-1
Use environment files
2 parents eaa1e0b + d146a99 commit 7edfd84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
_version="$(jq -r '.tools."${{ env.package_name }}".version' ./.config/dotnet-tools.json)"
2323
_version="${_version//'.'/'\.'}"
2424
_version="^${_version}\$"
25-
echo "::set-output name=version::${_version}"
25+
echo "version=${_version}" >> $GITHUB_OUTPUT
2626
2727
# Keep the last 13 versions as well as the version used by the project itself
2828
- uses: actions/[email protected]

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Get version from tag
2121
id: tag_name
22-
run: echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
22+
run: echo "current_version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
2323

2424
- name: Check out repository
2525
uses: actions/[email protected]

0 commit comments

Comments
 (0)