From f0a62c8ab181ac62cb1f52288955dc53eebb95b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simard?= Date: Thu, 14 Sep 2023 18:09:05 -0400 Subject: [PATCH] Fix for deprecated of `set-output` in GH actions GitHub has deprecated set-output and will eventually make it unusable, so this is a preventative fix. See more info here: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3d8c5bdf..de755461 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -49,9 +49,9 @@ jobs: if [ "${{ github.event_name }}" = "push" ]; then TAGS="${DOCKER_IMAGE}:latest" fi - echo ::set-output name=version::${VERSION} - echo ::set-output name=tags::${TAGS} - echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ') + echo "version=${VERSION}" >> $GITHUB_OUTPUT + echo "tags=${TAGS}" >> $GITHUB_OUTPUT + echo "created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT - name: Set up JDK 11 uses: actions/setup-java@v2 with: