We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 693803a commit a2080d4Copy full SHA for a2080d4
.github/workflows/devtools_regression_tests.yml
@@ -44,9 +44,15 @@ jobs:
44
- run: yarn --cwd scripts/release install --frozen-lockfile
45
if: steps.node_modules.outputs.cache-hit != 'true'
46
- name: Download react-devtools artifacts for base revision
47
+ env:
48
+ GH_TOKEN: ${{ github.token }}
49
run: |
- git fetch origin main
- GH_TOKEN=${{ github.token }} scripts/release/download-experimental-build.js --commit=${{ inputs.commit_sha || '$(git rev-parse origin/main)' }}
50
+ commit="${{ inputs.commit_sha }}"
51
+ if [ -z "$commit" ]; then
52
+ git fetch origin main
53
+ commit="$(git rev-parse origin/main)"
54
+ fi
55
+ scripts/release/download-experimental-build.js --commit="$commit"
56
- name: Display structure of build
57
run: ls -R build
58
- name: Archive build
0 commit comments