Continuous Integration Build Artifacts xml files converted to yml
build-develop-branch / if_merged (pull_request) Successful in 23s
Details
build-develop-branch / if_merged (pull_request) Successful in 23s
Details
This commit is contained in:
parent
91421d1ba2
commit
226c37d412
|
@ -20,12 +20,26 @@ jobs:
|
|||
echo env: ${{ env.GITHUB_HEAD_REF }}
|
||||
echo env: ${{ env.GITHUB_BASE_REF }}
|
||||
- name: delete develop branch
|
||||
id: delete_develop_branch
|
||||
run: git push origin --delete ${{ github.head_ref }}
|
||||
continue-on-error: true
|
||||
- uses: mainmatter/continue-on-error-comment@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.TEA_TOKEN }}
|
||||
outcome: ${{ steps.delete_develop_branch.outcome }}
|
||||
test-id: Error code ${{ matrix.code }}
|
||||
- name: get build branch name
|
||||
run: |
|
||||
firstString=${{ github.head_ref }}
|
||||
secondString="build-"
|
||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}
|
||||
- name: delete build branch
|
||||
id: delete_build_branch
|
||||
run: git push origin --delete ${{ env.BUILD_BRANCH }}
|
||||
continue-on-error: true
|
||||
- uses: mainmatter/continue-on-error-comment@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.TEA_TOKEN }}
|
||||
outcome: ${{ steps.delete_build_branch.outcome }}
|
||||
test-id: Error code ${{ matrix.code }}
|
||||
|
Loading…
Reference in New Issue