From bdb135b513d730332cf3e68b07071f4379fdba2a Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Tue, 16 Jul 2024 12:53:35 -0500 Subject: [PATCH] CLDR-17184 fix some warnings in staging and prod actions - use the GITHUB_OUTPUT file instead of set-output in production - drop an unneeded set-output in staging --- .github/workflows/production.yml | 2 +- .github/workflows/staging.yml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 1efb27c7902..d1555a0a668 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -25,7 +25,7 @@ jobs: - name: Calculate Tag Name id: tagname run: > - echo "::set-output name=tag::$(env TZ=UTC date +'production/%Y-%m-%d-%H%Mz')" + echo "tag=$(env TZ=UTC date +'production/%Y-%m-%d-%H%Mz')" >> $GITHUB_OUTPUT - name: Set up JDK uses: actions/setup-java@v4 with: diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 214b7de383e..bd9002a54ea 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -27,10 +27,6 @@ jobs: ref: ${{ github.event.inputs.git-ref }} repository: ${{ github.event.inputs.repo }} lfs: false - - name: Calculate Tag Name - id: tagname - run: > - echo "::set-output name=tag::$(env TZ=UTC date +'staging/%Y-%m-%d-%H%Mz')" - name: Set up JDK uses: actions/setup-java@v4 with: