Skip to content

Commit 534aab2

Browse files
authored
Merge pull request #361 from DependencyTrack/port-pr2817
Fix GHA set-output deprecation warnings
2 parents a061aa0 + 8437c3f commit 534aab2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/_meta-build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
if [[ "${{ inputs.app-version }}" != "snapshot" ]]; then
9393
TAGS="${TAGS},ghcr.io/dependencytrack/hyades-apiserver:latest"
9494
fi
95-
echo "::set-output name=tags::${TAGS}"
95+
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
9696
9797
- name: Build multi-arch Container Image
9898
uses: docker/[email protected]

.github/workflows/ci-publish.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: parse
2828
run: |-
2929
VERSION=`yq -p=xml '.project.version' pom.xml`
30-
echo "::set-output name=version::${VERSION}"
30+
echo "version=${VERSION}" >> $GITHUB_OUTPUT
3131
3232
call-build:
3333
needs:

.github/workflows/ci-release.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
fi
3131
NEXT_VERSION="${VERSION%.*}.$((${VERSION##*.} + 1))-SNAPSHOT"
3232
33-
echo "::set-output name=version::${VERSION}"
34-
echo "::set-output name=next-version::${NEXT_VERSION}"
35-
echo "::set-output name=release-branch::${VERSION%.*}.x"
33+
echo "version=${VERSION}" >> $GITHUB_OUTPUT
34+
echo "next-version=${NEXT_VERSION}" >> $GITHUB_OUTPUT
35+
echo "release-branch=${VERSION%.*}.x" >> $GITHUB_OUTPUT
3636
3737
create-release:
3838
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)