From 2576378a8e339169678f9939646ee3ee325e845c Mon Sep 17 00:00:00 2001 From: Ilir Bekteshi Date: Fri, 14 Oct 2022 22:28:41 +0200 Subject: [PATCH] #32 use new output env file (#33) * #32 use new output env file https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ * bump checkout version --- .github/workflows/lint.yml | 2 +- .github/workflows/release.yml | 2 +- entrypoint.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9416688..57ed045 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,7 +4,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Get yamllint version run: yamllint --version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 717f113..cbfba6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,5 +9,5 @@ jobs: update-semver: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: haya14busa/action-update-semver@v1 diff --git a/entrypoint.sh b/entrypoint.sh index caec456..03aacd7 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -35,6 +35,6 @@ yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.} | tee -a "$LOGFILE" exitcode=$? shopt -u globstar -echo "::set-output name=logfile::$(realpath ${LOGFILE})" +echo "logfile=$(realpath ${LOGFILE})" >> "$GITHUB_OUTPUT" exit $exitcode