Skip to content

Commit

Permalink
renamed input accessors on actions to just inputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Alexander committed Jan 29, 2024
1 parent 05b3155 commit 8766a18
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/base-cypress-test-all-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
10 changes: 5 additions & 5 deletions .github/workflows/base-cypress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ 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
steps:
- 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
Expand All @@ -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'

0 comments on commit 8766a18

Please sign in to comment.