Skip to content

Commit 166f7c2

Browse files
authored
Replace deprecated ::set-output (#26)
As per the deprecation warning and explanation at https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Signed-off-by: Dominik Gedon <[email protected]>
1 parent 17bdee6 commit 166f7c2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
version=0.0.$GITHUB_RUN_NUMBER
2929
echo "ThisBuild / version := \"$version\"" > version.sbt
30-
echo "::set-output name=version::$version"
30+
echo "version=$version" >> $GITHUB_OUTPUT
3131
working-directory: "test"
3232
- name: Test the action
3333
uses: ./

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12-
- Fix test workflow to use `sbt/setup-sbt` action
12+
- test: Fix test workflow to use `sbt/setup-sbt` action
13+
- test: Replace deprecated `::set-output`
1314

1415
## [v1.0.1]
1516

0 commit comments

Comments
 (0)