Skip to content

Commit

Permalink
fu2
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhirn committed Oct 1, 2024
1 parent 38b0bd0 commit de9ce93
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/actions/playwright/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ runs:
env:
PLAYWRIGHT_VERSION: v1.47.2-noble@sha256:f640d04686ef8fcca228955dc73f36b86ccd2228eda488fb2b32f3f037639f09
run: |
TMP_DIR="$(mktemp -d)"
SCRIPT_PATH="${TMP_DIR}/run.sh"
SCRIPT_PATH=".playwright/run.sh"
echo "${{ inputs.run }}" > "${SCRIPT_PATH}"
chmod +x "${SCRIPT_PATH}"
echo "PLAYWRIGHT_SCRIPT=${SCRIPT_PATH}" >> ${GITHUB_ENV}
VERSION=$([ "${{ inputs.version }}" ] && echo ${{ inputs.version }} || echo ${PLAYWRIGHT_VERSION})
echo "PLAYWRIGHT_VERSION=${VERSION}" >> ${GITHUB_ENV}
- name: Run playwright
uses: docker://mcr.microsoft.com/playwright:v1.47.2-noble@sha256:f640d04686ef8fcca228955dc73f36b86ccd2228eda488fb2b32f3f037639f09
uses: docker://mcr.microsoft.com/playwright:${PLAYWRIGHT_VERSION}
with:
args: ${{ env.PLAYWRIGHT_SCRIPT }}
args: .playwright/run.sh

0 comments on commit de9ce93

Please sign in to comment.