Skip to content

Commit

Permalink
[IB] fix with master branch if come from external repo (#1917)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qing Lan authored May 16, 2024
1 parent a3e1252 commit db12f19
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/instant_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ jobs:
needs: [ create-runners ]
steps:
- uses: actions/checkout@v4
if: ${{ inputs.repo == 'djl-serving' }}
- name: Setup DJLServing for other repo
uses: actions/checkout@v4
if: ${{ inputs.repo != 'djl-serving' }}
with:
repository: deepjavalibrary/djl-serving
ref: master
- name: Set up Python3
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -130,6 +137,13 @@ jobs:
job: ${{ fromJSON(needs.environment-setup.outputs.jobs) }}
steps:
- uses: actions/checkout@v4
if: ${{ inputs.repo == 'djl-serving' }}
- name: Setup DJLServing for other repo
uses: actions/checkout@v4
if: ${{ inputs.repo != 'djl-serving' }}
with:
repository: deepjavalibrary/djl-serving
ref: master
- name: Set up Python3
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit db12f19

Please sign in to comment.