Skip to content

Commit 5e58b47

Browse files
committed
remove deprecated set-output
1 parent 114d1c6 commit 5e58b47

11 files changed

+15
-15
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
c=$(git status --porcelain)
2727
c="${c//$'\n'/'%0A'}"
2828
c="${c//$'\r'/'%0D'}"
29-
echo "::set-output name=changes::$c"
29+
echo "changes=$c" >> $GITHUB_OUTPUT
3030
- name: Create PR
3131
if: ${{ steps.gendocs.outputs.changes != '' }}
3232
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7

.github/workflows/leaderboard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
c=$(git status --porcelain)
2626
c="${c//$'\n'/'%0A'}"
2727
c="${c//$'\r'/'%0D'}"
28-
echo "::set-output name=changes::$c"
28+
echo "changes=$c" >> $GITHUB_OUTPUT
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.MINIKUBE_BOT_PAT }}
3131
- name: Create PR

.github/workflows/time-to-k8s.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
id: timeToK8sBenchmark
2424
run: |
2525
./hack/benchmark/time-to-k8s/time-to-k8s.sh
26-
echo "::set-output name=version::$(minikube version --short)"
26+
echo "version=$(minikube version --short)" >> $GITHUB_OUTPUT
2727
- name: Create PR
2828
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
2929
with:

.github/workflows/update-golang-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id: bumpGolang
2323
run: |
2424
make update-golang-version
25-
echo "::set-output name=changes::$(git status --porcelain)"
25+
echo "changes=$(git status --porcelain)" >> $GITHUB_OUTPUT
2626
- name: Create PR
2727
if: ${{ steps.bumpGolang.outputs.changes != '' }}
2828
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7

.github/workflows/update-golint-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id: bumpGolint
2323
run: |
2424
make update-golint-version
25-
echo "::set-output name=changes::$(git status --porcelain)"
25+
echo "changes=$(git status --porcelain)" >> $GITHUB_OUTPUT
2626
- name: Create PR
2727
if: ${{ steps.bumpGolint.outputs.changes != '' }}
2828
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7

.github/workflows/update-gopogh-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id: bumpGopogh
2323
run: |
2424
make update-gopogh-version
25-
echo "::set-output name=changes::$(git status --porcelain)"
25+
echo "changes=$(git status --porcelain)" >> $GITHUB_OUTPUT
2626
- name: Create PR
2727
if: ${{ steps.bumpGopogh.outputs.changes != '' }}
2828
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7

.github/workflows/update-gotestsum-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id: bumpGotestsum
2323
run: |
2424
make update-gotestsum-version
25-
echo "::set-output name=changes::$(git status --porcelain)"
25+
echo "changes=$(git status --porcelain)" >> $GITHUB_OUTPUT
2626
- name: Create PR
2727
if: ${{ steps.bumpGotestsum.outputs.changes != '' }}
2828
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7

.github/workflows/update-k8s-versions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
run: |
2424
t=$(make update-kubernetes-version)
2525
t=$(echo $t | head -n 1)
26-
echo "::set-output name=title::$t"
26+
echo "title=$t" >> $GITHUB_OUTPUT
2727
c=$(git status --porcelain)
2828
c="${c//$'\n'/'%0A'}"
2929
c="${c//$'\r'/'%0D'}"
30-
echo "::set-output name=changes::$c"
30+
echo "changes=$c" >> $GITHUB_OUTPUT
3131
- name: Create PR
3232
if: ${{ steps.bumpk8s.outputs.changes != '' }}
3333
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7

.github/workflows/update-kubadm-constants.yml renamed to .github/workflows/update-kubeadm-constants.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
with:
2020
go-version: ${{env.GO_VERSION}}
2121
- name: Bump Kubeadm Constants for Kubernetes Images
22-
id: bumpKubAdmConsts
22+
id: bumpKubeadmConsts
2323
run: |
2424
make update-kubeadm-constants
2525
c=$(git status --porcelain)
2626
c="${c//$'\n'/'%0A'}"
2727
c="${c//$'\r'/'%0D'}"
28-
echo "::set-output name=changes::$c"
28+
echo "changes=$c" >> $GITHUB_OUTPUT
2929
- name: Create PR
30-
if: ${{ steps.bumpKubAdmConsts.outputs.changes != '' }}
30+
if: ${{ steps.bumpKubeadmConsts.outputs.changes != '' }}
3131
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
3232
with:
3333
token: ${{ secrets.MINIKUBE_BOT_PAT }}
@@ -45,5 +45,5 @@ jobs:
4545
Please only merge if all the tests pass.
4646
4747
```
48-
${{ steps.bumpKubAdmConsts.outputs.changes }}
48+
${{ steps.bumpKubeadmConsts.outputs.changes }}
4949
```

.github/workflows/yearly-leaderboard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: yearlyLeaderboard
2828
run: |
2929
make update-yearly-leaderboard
30-
echo "::set-output name=changes::$(git status --porcelain)"
30+
echo "changes=$(git status --porcelain)" >> $GITHUB_OUTPUT
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.MINIKUBE_BOT_PAT }}
3333
- name: Create PR

0 commit comments

Comments
 (0)