mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-25 12:10:31 +08:00
chore(deps): update actions/upload-artifact action to v3 (#5185)
* chore(deps): update actions/upload-artifact action to v3 * fix * fix * fix * fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: pngwn <hello@pngwn.io> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
parent
b22e1888fc
commit
96c5bfd44b
3
.github/workflows/comment-queue.yml
vendored
3
.github/workflows/comment-queue.yml
vendored
@ -20,9 +20,6 @@ on:
|
||||
gh_token:
|
||||
required: true
|
||||
|
||||
concurrency:
|
||||
group: 1
|
||||
|
||||
jobs:
|
||||
comment:
|
||||
concurrency:
|
||||
|
4
.github/workflows/deploy-chromatic.yml
vendored
4
.github/workflows/deploy-chromatic.yml
vendored
@ -79,5 +79,5 @@ jobs:
|
||||
with:
|
||||
pr_number: ${{ needs.get-current-pr.outputs.pr_number }}
|
||||
message: |
|
||||
storybook~failure~https://github.com/${{github.action_repository}}/actions/runs/${{github.run_id}}/
|
||||
visual~failure~0~0~https://github.com/${{github.action_repository}}/actions/runs/${{github.run_id}}/
|
||||
storybook~failure~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/
|
||||
visual~failure~0~0~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/
|
2
.github/workflows/deploy-pr-to-spaces.yml
vendored
2
.github/workflows/deploy-pr-to-spaces.yml
vendored
@ -88,4 +88,4 @@ jobs:
|
||||
gh_token: ${{ secrets.COMMENT_TOKEN }}
|
||||
with:
|
||||
pr_number: ${{ needs.deploy-current-pr.outputs.pr_number }}
|
||||
message: spaces~failure~https://github.com/${{github.action_repository}}/actions/runs/${{github.run_id}}/
|
||||
message: spaces~failure~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/
|
||||
|
7
.github/workflows/deploy-website.yml
vendored
7
.github/workflows/deploy-website.yml
vendored
@ -47,7 +47,7 @@ jobs:
|
||||
always-install-pnpm: true
|
||||
skip_build: true
|
||||
- name: download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: website-json-${{ inputs.pr_number }}}
|
||||
path: |
|
||||
@ -84,8 +84,7 @@ jobs:
|
||||
- name: Deploy Project Artifacts to Vercel
|
||||
if: github.event_name == 'push' && inputs.branch_name == 'main'
|
||||
shell: bash
|
||||
run: echo "deploying production"
|
||||
# run: echo "VERCEL_URL=$(vercel deploy --prebuilt --prod --token=${{ inputs.vercel_token }})" >> $GITHUB_ENV
|
||||
run: echo "VERCEL_URL=$(vercel deploy --prebuilt --prod --token=${{ secrets.vercel_token }})" >> $GITHUB_ENV
|
||||
- name: echo vercel url
|
||||
shell: bash
|
||||
run: echo $VERCEL_URL #add to comment
|
||||
@ -106,4 +105,4 @@ jobs:
|
||||
gh_token: ${{ secrets.gh_token }}
|
||||
with:
|
||||
pr_number: ${{ inputs.pr_number }}
|
||||
message: website~failure~https://github.com/${{github.action_repository}}/actions/runs/${{github.run_id}}/
|
||||
message: website~failure~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/
|
4
.github/workflows/generate-changeset.yml
vendored
4
.github/workflows/generate-changeset.yml
vendored
@ -65,7 +65,7 @@ jobs:
|
||||
gh_token: ${{ secrets.COMMENT_TOKEN }}
|
||||
with:
|
||||
pr_number: ${{ needs.get-pr.outputs.pr_number }}
|
||||
message: changes~warning~https://github.com/${{github.action_repository}}/actions/runs/${{github.run_id}}/
|
||||
message: changes~warning~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/
|
||||
comment-changes-success:
|
||||
uses: "./.github/workflows/comment-queue.yml"
|
||||
needs: [get-pr, version]
|
||||
@ -83,4 +83,4 @@ jobs:
|
||||
gh_token: ${{ secrets.COMMENT_TOKEN }}
|
||||
with:
|
||||
pr_number: ${{ needs.get-pr.outputs.pr_number }}
|
||||
message: changes~failure~https://github.com/${{github.action_repository}}/actions/runs/${{github.run_id}}/
|
||||
message: changes~failure~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/
|
@ -39,7 +39,7 @@ jobs:
|
||||
gh_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
pr_number: ${{ needs.get-pr-number.outputs.pr_number }}
|
||||
message: notebooks~failure~https://github.com/${{github.action_repository}}/actions/runs/${{github.run_id}}/
|
||||
message: notebooks~failure~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/
|
||||
additional_text: |
|
||||
The demo notebooks don't match the run.py files. Please run this command from the root of the repo and then commit the changes:
|
||||
```bash
|
||||
|
2
.github/workflows/ui.yml
vendored
2
.github/workflows/ui.yml
vendored
@ -82,7 +82,7 @@ jobs:
|
||||
. venv/bin/activate
|
||||
pnpm run test:ct
|
||||
- name: save artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: website-json-${{ steps.pr_details.outputs.pr_number }}}
|
||||
path: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user