mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
Replace deprecated set-output syntax
This commit is contained in:
parent
e3e7fddf76
commit
49f233246c
@ -148,7 +148,7 @@ runs:
|
||||
id: constellation-init
|
||||
run: |
|
||||
constellation init
|
||||
echo "::set-output name=KUBECONFIG::$(pwd)/constellation-admin.conf"
|
||||
echo "KUBECONFIG=$(pwd)/constellation-admin.conf >> $GITHUB_OUTPUT"
|
||||
shell: bash
|
||||
|
||||
- name: Wait for nodes to join and become ready
|
||||
|
4
.github/actions/e2e_test/action.yml
vendored
4
.github/actions/e2e_test/action.yml
vendored
@ -47,8 +47,8 @@ runs:
|
||||
id: determine-build-target
|
||||
shell: bash
|
||||
run: |
|
||||
echo "::set-output name=hostOS::$(go env GOOS)"
|
||||
echo "::set-output name=hostArch::$(go env GOARCH)"
|
||||
echo "hostOS=$(go env GOOS) >> $GITHUB_OUTPUT"
|
||||
echo "hostArch=$(go env GOARCH) >> $GITHUB_OUTPUT"
|
||||
|
||||
- name: Build CLI
|
||||
uses: ./.github/actions/build_cli
|
||||
|
10
.github/actions/pseudo_version/action.yml
vendored
10
.github/actions/pseudo_version/action.yml
vendored
@ -39,10 +39,10 @@ runs:
|
||||
timestamp=$(go run . -print-timestamp)
|
||||
branchName=$(go run . -print-branch)
|
||||
releaseVersion=$(go run . -print-release-branch)
|
||||
echo "::set-output name=pseudoVersion::${pseudoVersion}"
|
||||
echo "::set-output name=semanticVersion::${semanticVersion}"
|
||||
echo "::set-output name=timestamp::${timestamp}"
|
||||
echo "::set-output name=branchName::${branchName}"
|
||||
echo "::set-output name=releaseVersion::${releaseVersion}"
|
||||
echo "pseudoVersion=${pseudoVersion} >> $GITHUB_OUTPUT"
|
||||
echo "semanticVersion=${semanticVersion} >> $GITHUB_OUTPUT"
|
||||
echo "timestamp=${timestamp} >> $GITHUB_OUTPUT"
|
||||
echo "branchName=${branchName} >> $GITHUB_OUTPUT"
|
||||
echo "releaseVersion=${releaseVersion} >> $GITHUB_OUTPUT"
|
||||
working-directory: hack/pseudo-version
|
||||
shell: bash
|
||||
|
2
.github/workflows/e2e-test-azure-weekly.yml
vendored
2
.github/workflows/e2e-test-azure-weekly.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
||||
uuid=$(cat /proc/sys/kernel/random/uuid)
|
||||
name=e2e-test-${uuid%%-*}
|
||||
az group create --location westus --name $name --tags e2e
|
||||
echo "::set-output name=res_group_name::$name"
|
||||
echo "res_group_name=$name >> $GITHUB_OUTPUT"
|
||||
|
||||
- name: Run Azure E2E test
|
||||
uses: ./.github/actions/e2e_test
|
||||
|
4
.github/workflows/e2e-test-azure.yml
vendored
4
.github/workflows/e2e-test-azure.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
uuid=$(cat /proc/sys/kernel/random/uuid)
|
||||
name=e2e-test-${uuid%%-*}
|
||||
az group create --location westus --name $name --tags e2e
|
||||
echo "::set-output name=res_group_name::$name"
|
||||
echo "res_group_name=$name >> $GITHUB_OUTPUT"
|
||||
|
||||
- name: Run Azure E2E test
|
||||
uses: ./.github/actions/e2e_test
|
||||
@ -102,7 +102,7 @@ jobs:
|
||||
uuid=$(cat /proc/sys/kernel/random/uuid)
|
||||
name=e2e-test-${uuid%%-*}
|
||||
az group create --location westus --name $name --tags e2e
|
||||
echo "::set-output name=res_group_name::$name"
|
||||
echo "res_group_name=$name >> $GITHUB_OUTPUT"
|
||||
|
||||
- name: Run Azure E2E test
|
||||
uses: ./.github/actions/e2e_test
|
||||
|
2
.github/workflows/e2e-test-manual-macos.yml
vendored
2
.github/workflows/e2e-test-manual-macos.yml
vendored
@ -102,7 +102,7 @@ jobs:
|
||||
uuid=$(uuidgen)
|
||||
name=e2e-test-${uuid%%-*}
|
||||
az group create --location westus --name $name --tags e2e
|
||||
echo "::set-output name=res_group_name::$name"
|
||||
echo "res_group_name=$name >> $GITHUB_OUTPUT"
|
||||
|
||||
- name: Set up gcloud CLI
|
||||
if: ${{ github.event.inputs.cloudProvider == 'gcp' }}
|
||||
|
2
.github/workflows/e2e-test-manual.yml
vendored
2
.github/workflows/e2e-test-manual.yml
vendored
@ -68,7 +68,7 @@ jobs:
|
||||
uuid=$(cat /proc/sys/kernel/random/uuid)
|
||||
name=e2e-test-${uuid%%-*}
|
||||
az group create --location westus --name $name --tags e2e
|
||||
echo "::set-output name=res_group_name::$name"
|
||||
echo "res_group_name=$name >> $GITHUB_OUTPUT"
|
||||
|
||||
- name: Run manual E2E test
|
||||
uses: ./.github/actions/e2e_test
|
||||
|
2
.github/workflows/generate-measurements.yml
vendored
2
.github/workflows/generate-measurements.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
||||
uuid=$(cat /proc/sys/kernel/random/uuid)
|
||||
name=e2e-test-${uuid%%-*}
|
||||
az group create --location westus --name $name --tags e2e
|
||||
echo "::set-output name=res_group_name::$name"
|
||||
echo "res_group_name=$name >> $GITHUB_OUTPUT"
|
||||
|
||||
- name: Create Cluster & Generate Measurements
|
||||
uses: ./.github/actions/generate_measurements
|
||||
|
2
.github/workflows/test-govulncheck.yml
vendored
2
.github/workflows/test-govulncheck.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
||||
run: |
|
||||
mods=$(go list -f '{{.Dir}}/...' -m | xargs)
|
||||
echo "Found mods: $mods"
|
||||
echo "::set-output name=submods::${mods}"
|
||||
echo "submods=${mods} >> $GITHUB_OUTPUT"
|
||||
|
||||
- name: Govulncheck
|
||||
shell: bash
|
||||
|
2
.github/workflows/test-lint.yml
vendored
2
.github/workflows/test-lint.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
run: |
|
||||
mods=$(go list -f '{{.Dir}}/...' -m | xargs)
|
||||
echo "Found mods: $mods"
|
||||
echo "::set-output name=submods::${mods}"
|
||||
echo "submods=${mods} >> $GITHUB_OUTPUT"
|
||||
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc
|
||||
|
2
.github/workflows/test-tidy.yml
vendored
2
.github/workflows/test-tidy.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
run: |
|
||||
mods=$(go list -f '{{.Dir}}' -m | xargs)
|
||||
echo "Found mods: $mods"
|
||||
echo "::set-output name=submods::${mods}"
|
||||
echo "submods=${mods} >> $GITHUB_OUTPUT"
|
||||
|
||||
- name: Go tidy check
|
||||
uses: katexochen/go-tidy-check@45731e0013a976d5d616d79007c7ba52de6ce542
|
||||
|
Loading…
Reference in New Issue
Block a user