Skip to content

Commit

Permalink
chore: use upload-artifact@v4 for C3 e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Oct 28, 2024
1 parent df49724 commit ab01f71
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/actions/run-c3-e2e/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,19 @@ runs:
TEST_PM_VERSION: ${{ inputs.packageManagerVersion }}
CI_OS: ${{ runner.os }}

- name: List artifacts
shell: bash
run: |
pwd
ls -al packages/create-cloudflare
- name: Upload Logs
uses: actions/upload-artifact@v4
if: always()
with:
name: e2e-logs${{inputs.quarantine && '-quarantine' || ''}}-{{inputs.experimental && '-experimental' || ''}}-${{runner.os}}-${{inputs.packageManager}}
name: e2e-logs${{inputs.quarantine && '-quarantine' || ''}}-${{inputs.experimental && '-experimental' || ''}}-${{runner.os}}-${{inputs.packageManager}}
path: packages/create-cloudflare/.e2e-logs${{inputs.experimental && '-experimental' || ''}}
include-hidden-files: true

- name: Fail if errors detected
shell: bash
Expand Down
3 changes: 2 additions & 1 deletion packages/create-cloudflare/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"E2E_EXPERIMENTAL",
"TEST_PM"
],
"dependsOn": ["build"]
"dependsOn": ["build"],
"outputs": [".e2e-logs", ".e2e-logs-experimental"]
}
}
}

0 comments on commit ab01f71

Please sign in to comment.