Fix replace deprecated set-output syntax

This commit is contained in:
katexochen 2022-10-12 11:43:32 +02:00 committed by Paul Meyer
parent 1f290af09b
commit dbd71eebd9
11 changed files with 17 additions and 17 deletions

View File

@ -148,7 +148,7 @@ runs:
id: constellation-init id: constellation-init
run: | run: |
constellation init constellation init
echo "KUBECONFIG=$(pwd)/constellation-admin.conf >> $GITHUB_OUTPUT" echo "KUBECONFIG=$(pwd)/constellation-admin.conf" >> $GITHUB_OUTPUT
shell: bash shell: bash
- name: Wait for nodes to join and become ready - name: Wait for nodes to join and become ready

View File

@ -47,8 +47,8 @@ runs:
id: determine-build-target id: determine-build-target
shell: bash shell: bash
run: | run: |
echo "hostOS=$(go env GOOS) >> $GITHUB_OUTPUT" echo "hostOS=$(go env GOOS)" >> $GITHUB_OUTPUT
echo "hostArch=$(go env GOARCH) >> $GITHUB_OUTPUT" echo "hostArch=$(go env GOARCH)" >> $GITHUB_OUTPUT
- name: Build CLI - name: Build CLI
uses: ./.github/actions/build_cli uses: ./.github/actions/build_cli

View File

@ -39,10 +39,10 @@ runs:
timestamp=$(go run . -print-timestamp) timestamp=$(go run . -print-timestamp)
branchName=$(go run . -print-branch) branchName=$(go run . -print-branch)
releaseVersion=$(go run . -print-release-branch) releaseVersion=$(go run . -print-release-branch)
echo "pseudoVersion=${pseudoVersion} >> $GITHUB_OUTPUT" echo "pseudoVersion=${pseudoVersion}" >> $GITHUB_OUTPUT
echo "semanticVersion=${semanticVersion} >> $GITHUB_OUTPUT" echo "semanticVersion=${semanticVersion}" >> $GITHUB_OUTPUT
echo "timestamp=${timestamp} >> $GITHUB_OUTPUT" echo "timestamp=${timestamp}" >> $GITHUB_OUTPUT
echo "branchName=${branchName} >> $GITHUB_OUTPUT" echo "branchName=${branchName}" >> $GITHUB_OUTPUT
echo "releaseVersion=${releaseVersion} >> $GITHUB_OUTPUT" echo "releaseVersion=${releaseVersion}" >> $GITHUB_OUTPUT
working-directory: hack/pseudo-version working-directory: hack/pseudo-version
shell: bash shell: bash

View File

@ -35,7 +35,7 @@ jobs:
uuid=$(cat /proc/sys/kernel/random/uuid) uuid=$(cat /proc/sys/kernel/random/uuid)
name=e2e-test-${uuid%%-*} name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e az group create --location westus --name $name --tags e2e
echo "res_group_name=$name >> $GITHUB_OUTPUT" echo "res_group_name=$name" >> $GITHUB_OUTPUT
- name: Run Azure E2E test - name: Run Azure E2E test
uses: ./.github/actions/e2e_test uses: ./.github/actions/e2e_test

View File

@ -30,7 +30,7 @@ jobs:
uuid=$(cat /proc/sys/kernel/random/uuid) uuid=$(cat /proc/sys/kernel/random/uuid)
name=e2e-test-${uuid%%-*} name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e az group create --location westus --name $name --tags e2e
echo "res_group_name=$name >> $GITHUB_OUTPUT" echo "res_group_name=$name" >> $GITHUB_OUTPUT
- name: Run Azure E2E test - name: Run Azure E2E test
uses: ./.github/actions/e2e_test uses: ./.github/actions/e2e_test
@ -102,7 +102,7 @@ jobs:
uuid=$(cat /proc/sys/kernel/random/uuid) uuid=$(cat /proc/sys/kernel/random/uuid)
name=e2e-test-${uuid%%-*} name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e az group create --location westus --name $name --tags e2e
echo "res_group_name=$name >> $GITHUB_OUTPUT" echo "res_group_name=$name" >> $GITHUB_OUTPUT
- name: Run Azure E2E test - name: Run Azure E2E test
uses: ./.github/actions/e2e_test uses: ./.github/actions/e2e_test

View File

@ -102,7 +102,7 @@ jobs:
uuid=$(uuidgen) uuid=$(uuidgen)
name=e2e-test-${uuid%%-*} name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e az group create --location westus --name $name --tags e2e
echo "res_group_name=$name >> $GITHUB_OUTPUT" echo "res_group_name=$name" >> $GITHUB_OUTPUT
- name: Set up gcloud CLI - name: Set up gcloud CLI
if: ${{ github.event.inputs.cloudProvider == 'gcp' }} if: ${{ github.event.inputs.cloudProvider == 'gcp' }}

View File

@ -68,7 +68,7 @@ jobs:
uuid=$(cat /proc/sys/kernel/random/uuid) uuid=$(cat /proc/sys/kernel/random/uuid)
name=e2e-test-${uuid%%-*} name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e az group create --location westus --name $name --tags e2e
echo "res_group_name=$name >> $GITHUB_OUTPUT" echo "res_group_name=$name" >> $GITHUB_OUTPUT
- name: Run manual E2E test - name: Run manual E2E test
uses: ./.github/actions/e2e_test uses: ./.github/actions/e2e_test

View File

@ -46,7 +46,7 @@ jobs:
uuid=$(cat /proc/sys/kernel/random/uuid) uuid=$(cat /proc/sys/kernel/random/uuid)
name=e2e-test-${uuid%%-*} name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e az group create --location westus --name $name --tags e2e
echo "res_group_name=$name >> $GITHUB_OUTPUT" echo "res_group_name=$name" >> $GITHUB_OUTPUT
- name: Create Cluster & Generate Measurements - name: Create Cluster & Generate Measurements
uses: ./.github/actions/generate_measurements uses: ./.github/actions/generate_measurements

View File

@ -41,7 +41,7 @@ jobs:
run: | run: |
mods=$(go list -f '{{.Dir}}/...' -m | xargs) mods=$(go list -f '{{.Dir}}/...' -m | xargs)
echo "Found mods: $mods" echo "Found mods: $mods"
echo "submods=${mods} >> $GITHUB_OUTPUT" echo "submods=${mods}" >> $GITHUB_OUTPUT
- name: Govulncheck - name: Govulncheck
shell: bash shell: bash

View File

@ -46,7 +46,7 @@ jobs:
run: | run: |
mods=$(go list -f '{{.Dir}}/...' -m | xargs) mods=$(go list -f '{{.Dir}}/...' -m | xargs)
echo "Found mods: $mods" echo "Found mods: $mods"
echo "submods=${mods} >> $GITHUB_OUTPUT" echo "submods=${mods}" >> $GITHUB_OUTPUT
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc

View File

@ -37,7 +37,7 @@ jobs:
run: | run: |
mods=$(go list -f '{{.Dir}}' -m | xargs) mods=$(go list -f '{{.Dir}}' -m | xargs)
echo "Found mods: $mods" echo "Found mods: $mods"
echo "submods=${mods} >> $GITHUB_OUTPUT" echo "submods=${mods}" >> $GITHUB_OUTPUT
- name: Go tidy check - name: Go tidy check
uses: katexochen/go-tidy-check@45731e0013a976d5d616d79007c7ba52de6ce542 uses: katexochen/go-tidy-check@45731e0013a976d5d616d79007c7ba52de6ce542