mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 01:28:39 +08:00
develop source ci
This commit is contained in:
parent
8d6da23f7d
commit
c7ae1e1658
10
.github/workflows/develop_ci.yml
vendored
10
.github/workflows/develop_ci.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Pull Request Workflow
|
||||
name: develop Workflow
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@ -12,8 +12,12 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Fetch all branches
|
||||
run: git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*'
|
||||
|
||||
- name: Checkout pull request branch
|
||||
run: git checkout origin/pr/${{ github.pr_number }}
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
|
4
.github/workflows/main_ci.yml
vendored
4
.github/workflows/main_ci.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Pull Request Workflow
|
||||
name: Main Workflow
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@ -12,8 +12,6 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user