Skip to content

Commit 377f467

Browse files
lgritz1div0
authored andcommitted
ci: Switch away from deprecated GHA idiom set-output (AcademySoftwareFoundation#4141)
Eliminates some GHA warnings. --------- Signed-off-by: Larry Gritz <[email protected]> Signed-off-by: Peter Kovář <[email protected]>
1 parent b01b089 commit 377f467

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
fetch-depth: '0'
8989
- name: Prepare ccache timestamp
9090
id: ccache_cache_keys
91-
run: echo "::set-output name=date::`date -u +'%Y-%m-%dT%H:%M:%SZ'`"
91+
run: echo "date=`date -u +'%Y-%m-%dT%H:%M:%SZ'`" >> $GITHUB_OUTPUT
9292
- name: ccache
9393
id: ccache
9494
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ jobs:
220220
# glibc than these containers have.
221221
- name: Prepare ccache timestamp
222222
id: ccache_cache_keys
223-
run: echo "::set-output name=date::`date -u +'%Y-%m-%dT%H:%M:%SZ'`"
223+
run: echo "date=`date -u +'%Y-%m-%dT%H:%M:%SZ'`" >> $GITHUB_OUTPUT
224224
- name: ccache
225225
id: ccache
226226
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3
@@ -416,7 +416,7 @@ jobs:
416416
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
417417
- name: Prepare ccache timestamp
418418
id: ccache_cache_keys
419-
run: echo "::set-output name=date::`date -u +'%Y-%m-%dT%H:%M:%SZ'`"
419+
run: echo "date=`date -u +'%Y-%m-%dT%H:%M:%SZ'`" >> $GITHUB_OUTPUT
420420
- name: ccache
421421
id: ccache
422422
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
@@ -486,7 +486,7 @@ jobs:
486486
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
487487
- name: Prepare ccache timestamp
488488
id: ccache_cache_keys
489-
run: echo "::set-output name=date::`date -u +'%Y-%m-%dT%H:%M:%SZ'`"
489+
run: echo "date=`date -u +'%Y-%m-%dT%H:%M:%SZ'`" >> $GITHUB_OUTPUT
490490
- name: ccache
491491
id: ccache
492492
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
@@ -552,7 +552,7 @@ jobs:
552552
steps:
553553
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
554554
- name: Setup Nuget.exe
555-
uses: nuget/setup-nuget@b2bc17b761a1d88cab755a776c7922eb26eefbfa # v1.0.6
555+
uses: nuget/setup-nuget@a21f25cd3998bf370fde17e3f1b4c12c175172f9 # v2.0.0
556556
- name: Build setup
557557
shell: bash
558558
run: |

0 commit comments

Comments
 (0)