mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-17 11:29:58 +08:00
parent
0b4642321a
commit
4d41f8d3d9
8
.github/workflows/generate-changeset.yml
vendored
8
.github/workflows/generate-changeset.yml
vendored
@ -14,7 +14,6 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
get-pr:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
found_pr: ${{ steps.pr_details.outputs.found_pr }}
|
||||
@ -22,14 +21,12 @@ jobs:
|
||||
source_repo: ${{ steps.pr_details.outputs.source_repo }}
|
||||
source_branch: ${{ steps.pr_details.outputs.source_branch }}
|
||||
steps:
|
||||
- name: echo concurrent group
|
||||
run: echo ${{ github.event.workflow_run.head_repository.full_name }}::${{ github.event.workflow_run.head_branch }}
|
||||
- name: get pr details
|
||||
id: pr_details
|
||||
uses: gradio-app/github/actions/find-pr@main
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
comment-changes-start:
|
||||
comment-chromatic-start:
|
||||
uses: "./.github/workflows/comment-queue.yml"
|
||||
needs: get-pr
|
||||
secrets:
|
||||
@ -44,7 +41,7 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
if: needs.get-pr.outputs.found_pr == 'true'
|
||||
outputs:
|
||||
skipped: ${{ steps.version.outputs.skipper }}
|
||||
skipped: ${{ steps.version.outputs.skipped }}
|
||||
comment_url: ${{ steps.version.outputs.comment_url }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -60,7 +57,6 @@ jobs:
|
||||
github_token: ${{ secrets.COMMENT_TOKEN }}
|
||||
main_pkg: gradio
|
||||
pr_number: ${{ needs.get-pr.outputs.pr_number }}
|
||||
branch_name: ${{ needs.get-pr.outputs.source_branch }}
|
||||
comment-changes-skipped:
|
||||
uses: "./.github/workflows/comment-queue.yml"
|
||||
needs: [get-pr, version]
|
||||
|
2
.github/workflows/ui.yml
vendored
2
.github/workflows/ui.yml
vendored
@ -59,7 +59,7 @@ jobs:
|
||||
export AWS_ACCESS_KEY_ID=${{ secrets.AWSACCESSKEYID }}
|
||||
export AWS_SECRET_ACCESS_KEY=${{ secrets.AWSSECRETKEY }}
|
||||
export AWS_DEFAULT_REGION=us-west-2
|
||||
version=$(sed -nr "s/{\"version\": \"([0-9\.]+)\"}/\1/p" ./js/_website/src/lib/json/version.json)
|
||||
version=$(sed -nr "s/{\"version\":\s\"([0-9\.]+)\"}/\1/p" ./js/_website/src/lib/json/version.json)
|
||||
aws s3 cp ./js/_website/src/lib/json/ s3://gradio-docs-json/$version/ --recursive
|
||||
- name: install outbreak_forecast dependencies
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user