mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
Update develop_ci.yml
This commit is contained in:
parent
71050c70ef
commit
0201762d09
1 changed files with 5 additions and 5 deletions
10
.github/workflows/develop_ci.yml
vendored
10
.github/workflows/develop_ci.yml
vendored
|
@ -13,15 +13,15 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Get source branch name
|
||||
id: source_branch
|
||||
run: echo "::set-output name=branch::${{ github.event.forkee.default_branch }}"
|
||||
- name: Get source branch commit
|
||||
id: source_commit
|
||||
run: echo "::set-output name=commit::${{ github.event.pull_request.head.sha }}"
|
||||
|
||||
- name: Fetch source branch
|
||||
run: git fetch origin ${{ steps.source_branch.outputs.branch }}:${{ steps.source_branch.outputs.branch }}
|
||||
run: git fetch origin ${{ steps.source_commit.outputs.commit }}:${{ steps.source_commit.outputs.commit }}
|
||||
|
||||
- name: Checkout source branch
|
||||
run: git checkout ${{ steps.source_branch.outputs.branch }}
|
||||
run: git checkout ${{ steps.source_commit.outputs.commit }}
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue