Skip to content

Commit

Permalink
CLDR-17184 fix some warnings in staging and prod actions
Browse files Browse the repository at this point in the history
- use the GITHUB_OUTPUT file instead of set-output in production
- drop an unneeded set-output in staging
  • Loading branch information
srl295 committed Jul 16, 2024
1 parent 49c74ad commit bdb135b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bdb135b

Please sign in to comment.