Create Remote Branch before running Action
This commit is contained in:
parent
45872c3c23
commit
4bab898d25
7
.github/workflows/integration-tests.yml
vendored
7
.github/workflows/integration-tests.yml
vendored
@ -11,6 +11,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: master
|
ref: master
|
||||||
|
|
||||||
|
- name: Create Remote Branch
|
||||||
|
run: |
|
||||||
|
git checkout -b ci-test
|
||||||
|
git push origin ci-test
|
||||||
|
git checkout master
|
||||||
|
|
||||||
- name: Add Files
|
- name: Add Files
|
||||||
run: touch {a,b,c}.txt
|
run: touch {a,b,c}.txt
|
||||||
|
|
||||||
@ -20,7 +26,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
branch: ci-test
|
branch: ci-test
|
||||||
commit_message: Message
|
commit_message: Message
|
||||||
checkout_options: -b
|
|
||||||
|
|
||||||
- name: Delete Branch
|
- name: Delete Branch
|
||||||
run: git push -d origin ci-test
|
run: git push -d origin ci-test
|
||||||
|
Loading…
Reference in New Issue
Block a user