From 4f73b2a08028193e7269f6f300fc02e59f3879d9 Mon Sep 17 00:00:00 2001 From: Phil Ross Date: Fri, 21 Oct 2022 19:50:43 +0100 Subject: [PATCH] Replace deprecated uses of set-output. https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 920b091..1c36f67 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,12 +54,12 @@ jobs: - run: bundle --version - id: determine_tzdata_version name: Determine tzdata version - run: echo "::set-output name=tzdata_version::`ruby -r bundler/setup -r tzinfo/data -e 'puts TZInfo::Data::Version::TZDATA'`" + run: echo "tzdata_version=`ruby -r bundler/setup -r tzinfo/data -e 'puts TZInfo::Data::Version::TZDATA'`" >> $GITHUB_OUTPUT - id: determine_os_version name: Determine OS version run: | - echo "::set-output name=os::`lsb_release -si`" - echo "::set-output name=os_version::`lsb_release -sr`" + echo "os=`lsb_release -si`" >> $GITHUB_OUTPUT + echo "os_version=`lsb_release -sr`" >> $GITHUB_OUTPUT - name: Cache tzdb uses: actions/cache@v3 with: