Skip to content

Commit

Permalink
[GHA] Fix ::set-output to >> $GITHUB_OUTPUT (#2651)
Browse files Browse the repository at this point in the history
* [GHA] Fix ::set-output to >> $GITHUB_OUTPUT

see https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

* [ci] Add change log
  • Loading branch information
hazendaz committed Oct 18, 2023
1 parent 142e527 commit 41baf2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Get the version
if: startsWith(github.ref, 'refs/tags/')
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Create Release
# attach zip, tgz and eclipse plugin to the GitHub Release
# https://github.com/github/hub#github-actions
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Currently the versioning policy of this project follows [Semantic Versioning v2.
- Fix exception escapes when calling functions of JUnit Assert or Assertions ([[#2640](https://github.com/spotbugs/spotbugs/issues/2640)])
- Fixed an error in the SARIF export when a bug annotation is missing ([[#2632](https://github.com/spotbugs/spotbugs/issues/2632)])

### Build
- Fix deprecated GHA on '::set-output' by using GITHUB_OUTPUT ([[#2651](https://github.com/spotbugs/spotbugs/pull/2651)])

## 4.8.0 - 2023-10-11

### Changed
Expand Down

0 comments on commit 41baf2a

Please sign in to comment.