Skip to content

Commit 061b1e9

Browse files
0xPoeDarunada
authored andcommitted
Fix deprecated set-output warnings
1 parent 44d931f commit 061b1e9

12 files changed

+12
-12
lines changed

.github/workflows/centos-fmt-clippy-on-all.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Get rustc commit hash
5050
id: cargo-target-cache
5151
run: |
52-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
52+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
5353
shell: bash
5454
- name: Cache cargo build
5555
uses: actions/cache@v3

.github/workflows/linux-builds-on-master.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Get rustc commit hash
6969
id: cargo-target-cache
7070
run: |
71-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
71+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
7272
shell: bash
7373
- name: Cache cargo build
7474
uses: actions/cache@v3

.github/workflows/linux-builds-on-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Get rustc commit hash
6363
id: cargo-target-cache
6464
run: |
65-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
65+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
6666
shell: bash
6767
- name: Cache cargo build
6868
uses: actions/cache@v3

.github/workflows/linux-builds-on-stable.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- name: Get rustc commit hash
9292
id: cargo-target-cache
9393
run: |
94-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
94+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
9595
shell: bash
9696
- name: Cache cargo build
9797
uses: actions/cache@v3

.github/workflows/macos-builds-on-all.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Get rustc commit hash
5555
id: cargo-target-cache
5656
run: |
57-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
57+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
5858
shell: bash
5959
- name: Cache cargo build
6060
uses: actions/cache@v3

.github/workflows/windows-builds-on-master.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Get rustc commit hash
7777
id: cargo-target-cache
7878
run: |
79-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
79+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
8080
shell: bash
8181
- name: Cache cargo build
8282
uses: actions/cache@v3

.github/workflows/windows-builds-on-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Get rustc commit hash
7272
id: cargo-target-cache
7373
run: |
74-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
74+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
7575
shell: bash
7676
- name: Cache cargo build
7777
uses: actions/cache@v3

.github/workflows/windows-builds-on-stable.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- name: Get rustc commit hash
7575
id: cargo-target-cache
7676
run: |
77-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
77+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
7878
shell: bash
7979
- name: Cache cargo build
8080
uses: actions/cache@v3

ci/actions-templates/centos-fmt-clippy-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Get rustc commit hash
5050
id: cargo-target-cache
5151
run: |
52-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
52+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
5353
shell: bash
5454
- name: Cache cargo build
5555
uses: actions/cache@v3

ci/actions-templates/linux-builds-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
- name: Get rustc commit hash
101101
id: cargo-target-cache
102102
run: |
103-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
103+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
104104
shell: bash
105105
- name: Cache cargo build
106106
uses: actions/cache@v3

ci/actions-templates/macos-builds-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Get rustc commit hash
5555
id: cargo-target-cache
5656
run: |
57-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
57+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
5858
shell: bash
5959
- name: Cache cargo build
6060
uses: actions/cache@v3

ci/actions-templates/windows-builds-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
- name: Get rustc commit hash
8686
id: cargo-target-cache
8787
run: |
88-
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
88+
echo "{rust_hash}={$(rustc -Vv | grep commit-hash | awk '{print $2}')}" >> $GITHUB_OUTPUT
8989
shell: bash
9090
- name: Cache cargo build
9191
uses: actions/cache@v3

0 commit comments

Comments
 (0)