Skip to content

Commit

Permalink
update: branch ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Koooooo-7 committed Jan 27, 2024
1 parent 09d56de commit f6f55d7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Integration test
on:
workflow_dispatch:
workflow_call:
ref-branch:
required: false
type: string
default: ''

jobs:
go-echarts-pipeline:
Expand All @@ -15,12 +19,16 @@ jobs:
with:
go-version: '1.18'

- name: Checkout Example branch
run: |
echo "Checkout Example branch is: ${{ inputs.ref-branch }}, empty means default branch "
- name: Checkout another repository
uses: actions/checkout@v4
with:
repository: 'go-echarts/examples'
# remove
ref: 'v2.4-rc'
ref: ${{ inputs.ref-branch }}
path: 'examples'

- name: Check repos
Expand Down

0 comments on commit f6f55d7

Please sign in to comment.