remove deprecated set-output
parent
114d1c6038
commit
5e58b47934
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
c=$(git status --porcelain)
|
||||
c="${c//$'\n'/'%0A'}"
|
||||
c="${c//$'\r'/'%0D'}"
|
||||
echo "::set-output name=changes::$c"
|
||||
echo "changes=$c" >> $GITHUB_OUTPUT
|
||||
- name: Create PR
|
||||
if: ${{ steps.gendocs.outputs.changes != '' }}
|
||||
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
c=$(git status --porcelain)
|
||||
c="${c//$'\n'/'%0A'}"
|
||||
c="${c//$'\r'/'%0D'}"
|
||||
echo "::set-output name=changes::$c"
|
||||
echo "changes=$c" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.MINIKUBE_BOT_PAT }}
|
||||
- name: Create PR
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
id: timeToK8sBenchmark
|
||||
run: |
|
||||
./hack/benchmark/time-to-k8s/time-to-k8s.sh
|
||||
echo "::set-output name=version::$(minikube version --short)"
|
||||
echo "version=$(minikube version --short)" >> $GITHUB_OUTPUT
|
||||
- name: Create PR
|
||||
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
id: bumpGolang
|
||||
run: |
|
||||
make update-golang-version
|
||||
echo "::set-output name=changes::$(git status --porcelain)"
|
||||
echo "changes=$(git status --porcelain)" >> $GITHUB_OUTPUT
|
||||
- name: Create PR
|
||||
if: ${{ steps.bumpGolang.outputs.changes != '' }}
|
||||
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
id: bumpGolint
|
||||
run: |
|
||||
make update-golint-version
|
||||
echo "::set-output name=changes::$(git status --porcelain)"
|
||||
echo "changes=$(git status --porcelain)" >> $GITHUB_OUTPUT
|
||||
- name: Create PR
|
||||
if: ${{ steps.bumpGolint.outputs.changes != '' }}
|
||||
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
id: bumpGopogh
|
||||
run: |
|
||||
make update-gopogh-version
|
||||
echo "::set-output name=changes::$(git status --porcelain)"
|
||||
echo "changes=$(git status --porcelain)" >> $GITHUB_OUTPUT
|
||||
- name: Create PR
|
||||
if: ${{ steps.bumpGopogh.outputs.changes != '' }}
|
||||
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
id: bumpGotestsum
|
||||
run: |
|
||||
make update-gotestsum-version
|
||||
echo "::set-output name=changes::$(git status --porcelain)"
|
||||
echo "changes=$(git status --porcelain)" >> $GITHUB_OUTPUT
|
||||
- name: Create PR
|
||||
if: ${{ steps.bumpGotestsum.outputs.changes != '' }}
|
||||
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@ jobs:
|
|||
run: |
|
||||
t=$(make update-kubernetes-version)
|
||||
t=$(echo $t | head -n 1)
|
||||
echo "::set-output name=title::$t"
|
||||
echo "title=$t" >> $GITHUB_OUTPUT
|
||||
c=$(git status --porcelain)
|
||||
c="${c//$'\n'/'%0A'}"
|
||||
c="${c//$'\r'/'%0D'}"
|
||||
echo "::set-output name=changes::$c"
|
||||
echo "changes=$c" >> $GITHUB_OUTPUT
|
||||
- name: Create PR
|
||||
if: ${{ steps.bumpk8s.outputs.changes != '' }}
|
||||
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
|
||||
|
|
|
|||
|
|
@ -19,15 +19,15 @@ jobs:
|
|||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
- name: Bump Kubeadm Constants for Kubernetes Images
|
||||
id: bumpKubAdmConsts
|
||||
id: bumpKubeadmConsts
|
||||
run: |
|
||||
make update-kubeadm-constants
|
||||
c=$(git status --porcelain)
|
||||
c="${c//$'\n'/'%0A'}"
|
||||
c="${c//$'\r'/'%0D'}"
|
||||
echo "::set-output name=changes::$c"
|
||||
echo "changes=$c" >> $GITHUB_OUTPUT
|
||||
- name: Create PR
|
||||
if: ${{ steps.bumpKubAdmConsts.outputs.changes != '' }}
|
||||
if: ${{ steps.bumpKubeadmConsts.outputs.changes != '' }}
|
||||
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
|
||||
with:
|
||||
token: ${{ secrets.MINIKUBE_BOT_PAT }}
|
||||
|
|
@ -45,5 +45,5 @@ jobs:
|
|||
Please only merge if all the tests pass.
|
||||
|
||||
```
|
||||
${{ steps.bumpKubAdmConsts.outputs.changes }}
|
||||
${{ steps.bumpKubeadmConsts.outputs.changes }}
|
||||
```
|
||||
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
id: yearlyLeaderboard
|
||||
run: |
|
||||
make update-yearly-leaderboard
|
||||
echo "::set-output name=changes::$(git status --porcelain)"
|
||||
echo "changes=$(git status --porcelain)" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.MINIKUBE_BOT_PAT }}
|
||||
- name: Create PR
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ var (
|
|||
`GO_VERSION: .*`: `GO_VERSION: '{{.StableVersion}}'`,
|
||||
},
|
||||
},
|
||||
".github/workflows/update-kubadm-constants.yml": {
|
||||
".github/workflows/update-kubeadm-constants.yml": {
|
||||
Replace: map[string]string{
|
||||
`GO_VERSION: .*`: `GO_VERSION: '{{.StableVersion}}'`,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue