From b5ee693471b8593a9a6d27357c895a03251547d6 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Wed, 11 Sep 2024 19:16:28 +0200 Subject: [PATCH] Fix deprecation warnings --- .github/workflows/dockerfile-lint.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dockerfile-lint.yml b/.github/workflows/dockerfile-lint.yml index a5b0dee..6887948 100644 --- a/.github/workflows/dockerfile-lint.yml +++ b/.github/workflows/dockerfile-lint.yml @@ -28,13 +28,13 @@ jobs: id: check_sarif run: | if [ -f testResults/hadolint-results.sarif ]; then - echo "::set-output name=file_exists::true" + echo "file_exists=true" >> $GITHUB_OUTPUT else - echo "::set-output name=file_exists::false" + echo "file_exists=false" >> $GITHUB_OUTPUT fi - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 if: always() && steps.check_sarif.outputs.file_exists == 'true' with: sarif_file: testResults/hadolint-results.sarif