Skip to content

Commit

Permalink
fu3
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhirn committed Oct 1, 2024
1 parent de9ce93 commit 98eccdb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/actions/playwright/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ inputs:
version:
description: Playwright version
required: false
default: v1.47.2-noble@sha256:f640d04686ef8fcca228955dc73f36b86ccd2228eda488fb2b32f3f037639f09
run:
description: Script to execute
required: true
Expand All @@ -15,17 +16,12 @@ runs:
- name: Setup playwright
id: setup
shell: bash
env:
PLAYWRIGHT_VERSION: v1.47.2-noble@sha256:f640d04686ef8fcca228955dc73f36b86ccd2228eda488fb2b32f3f037639f09
run: |
SCRIPT_PATH=".playwright/run.sh"
echo "${{ inputs.run }}" > "${SCRIPT_PATH}"
chmod +x "${SCRIPT_PATH}"
VERSION=$([ "${{ inputs.version }}" ] && echo ${{ inputs.version }} || echo ${PLAYWRIGHT_VERSION})
echo "PLAYWRIGHT_VERSION=${VERSION}" >> ${GITHUB_ENV}
- name: Run playwright
uses: docker://mcr.microsoft.com/playwright:${PLAYWRIGHT_VERSION}
uses: docker://mcr.microsoft.com/playwright:${{ inputs.version }}
with:
args: .playwright/run.sh

0 comments on commit 98eccdb

Please sign in to comment.