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:
renovate[bot] 2023-08-11 13:09:34 -04:00 committed by GitHub
parent b22e1888fc
commit 96c5bfd44b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 14 deletions

View File

@ -20,9 +20,6 @@ on:
gh_token:
required: true
concurrency:
group: 1
jobs:
comment:
concurrency:

View File

@ -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}}/

View File

@ -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}}/

View File

@ -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}}/

View File

@ -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}}/

View File

@ -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

View File

@ -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: |