From 8766a189f511a110988aae7d9f8c613fa5408b42 Mon Sep 17 00:00:00 2001 From: Scott Alexander Date: Mon, 29 Jan 2024 22:50:38 +0000 Subject: [PATCH] renamed input accessors on actions to just inputs. --- .github/workflows/base-cypress-test-all-env.yml | 12 ++++++------ .github/workflows/base-cypress-test.yml | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/base-cypress-test-all-env.yml b/.github/workflows/base-cypress-test-all-env.yml index 8eba0eb9a..3b67a895b 100644 --- a/.github/workflows/base-cypress-test-all-env.yml +++ b/.github/workflows/base-cypress-test-all-env.yml @@ -31,18 +31,18 @@ jobs: cypress_test_chrome: uses: ./.github/workflows/base-cypress-test.yml with: - build_branch: ${{ github.event.inputs.build_branch }} + build_branch: ${{ inputs.build_branch }} cypress_broswer: "chrome" - cypress_base_url: ${{ github.event.inputs.cypress_base_url }} + cypress_base_url: ${{ inputs.cypress_base_url }} cypress_test_edge: uses: ./.github/workflows/base-cypress-test.yml with: - build_branch: ${{ github.event.inputs.build_branch }} + build_branch: ${{ inputs.build_branch }} cypress_broswer: "edge" - cypress_base_url: ${{ github.event.inputs.cypress_base_url }} + cypress_base_url: ${{ inputs.cypress_base_url }} cypress_test_firefox: uses: ./.github/workflows/base-cypress-test.yml with: - build_branch: ${{ github.event.inputs.build_branch }} + build_branch: ${{ inputs.build_branch }} cypress_broswer: "firefox" - cypress_base_url: ${{ github.event.inputs.cypress_base_url }} + cypress_base_url: ${{ inputs.cypress_base_url }} diff --git a/.github/workflows/base-cypress-test.yml b/.github/workflows/base-cypress-test.yml index 029404241..1d4447315 100644 --- a/.github/workflows/base-cypress-test.yml +++ b/.github/workflows/base-cypress-test.yml @@ -30,8 +30,8 @@ jobs: steps: - name: Display client passed variables run: | - echo Build Branch: ${{ github.event.inputs.build_branch }} - echo Cypress Base Url: ${{ github.event.inputs.cypress_base_url }} + echo Build Branch: ${{ inputs.build_branch }} + echo Cypress Base Url: ${{ inputs.cypress_base_url }} cypress-run-job: runs-on: ubuntu-22.04 @@ -39,7 +39,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - ref: ${{ github.event.inputs.build_branch }} + ref: ${{ inputs.build_branch }} - name: Download the build folder uses: actions/download-artifact@v3 @@ -61,8 +61,8 @@ jobs: with: install: false start: serve -s build - browser: ${{ github.event.inputs.cypress_browser}} + browser: ${{ inputs.cypress_browser}} working-directory: ./app env: - CYPRESS_BASE_URL: ${{ github.event.inputs.cypress_base_url }} + CYPRESS_BASE_URL: ${{ inputs.cypress_base_url }} CYPRESS_grepTags: 'regression'