ci: manual e2e: github.event.inputs -> inputs

This commit is contained in:
Malte Poll 2023-01-12 08:44:40 +01:00 committed by Malte Poll
parent ba59d8302d
commit 7cc8f2c884

View File

@ -244,18 +244,18 @@ jobs:
go-version: "1.19.4"
- name: Set up gcloud CLI (macOS)
if: github.event.inputs.cloudProvider == 'gcp' && runner.os == 'macOS'
if: inputs.cloudProvider == 'gcp' && runner.os == 'macOS'
uses: google-github-actions/setup-gcloud@d51b5346f85640ec2aa2fa057354d2b82c2fcbce # v1.0.1
- name: Login to Azure
if: github.event.inputs.cloudProvider == 'azure'
if: inputs.cloudProvider == 'azure'
uses: ./.github/actions/login_azure
with:
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}
- name: Create Azure resource group
id: az_resource_group_gen
if: github.event.inputs.cloudProvider == 'azure'
if: inputs.cloudProvider == 'azure'
shell: bash
run: |
uuid=$(uuidgen)
@ -294,7 +294,7 @@ jobs:
kubeconfig: ${{ steps.e2e_test.outputs.kubeconfig }}
- name: Always destroy Azure resource group
if: always() && github.event.inputs.cloudProvider == 'azure'
if: always() && inputs.cloudProvider == 'azure'
shell: bash
run: |
az group delete \