Add a 'strict' flag to have a recording upload fail if any part of the upload fails. #621
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build, lint and test | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/checkout@v2 | |
with: | |
repository: replayio-public/flake | |
path: e2e-repos/flake | |
- name: Download latest earthly | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.19/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" | |
- name: build, lint and test | |
run: | | |
cp $GITHUB_EVENT_PATH ./e2e-repos/flake/github_event | |
earthly +ci \ | |
--REPLAY_API_KEY="${{ secrets.CYPRESS_API_KEY }}" \ | |
--GITHUB_SHA="$GITHUB_SHA" \ | |
--GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}" \ | |
--GITHUB_REPOSITORY="$GITHUB_REPOSITORY" \ | |
--GITHUB_ACTOR="$GITHUB_ACTOR" \ | |
--GITHUB_RUN_ID="$GITHUB_RUN_ID" \ | |
--GITHUB_WORKFLOW="$GITHUB_WORKFLOW" \ | |
--GITHUB_REF_NAME="$GITHUB_REF_NAME" \ | |
--GITHUB_SERVER_URL="$GITHUB_SERVER_URL" |