................
convert-to-yml / develop-branch (push) Successful in 27s
Details
convert-to-yml / develop-branch (push) Successful in 27s
Details
This commit is contained in:
parent
f4214161fe
commit
1309d6c3fb
|
@ -27,7 +27,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
firstString=${{ github.ref_name }}
|
firstString=${{ github.ref_name }}
|
||||||
secondString="develop"
|
secondString="develop"
|
||||||
echo ::set-env name=DEVELOPMENT_BRANCH::${firststring/format\//"$secondstring"\/}
|
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build\//"$secondString"\/}
|
||||||
- name: GIT commit and push all changed files
|
- name: GIT commit and push all changed files
|
||||||
env:
|
env:
|
||||||
CI_COMMIT_MESSAGE: converted to yml for review.
|
CI_COMMIT_MESSAGE: converted to yml for review.
|
||||||
|
|
|
@ -3,7 +3,7 @@ run-name: ${{ github.actor }} is learning GitHub Actions
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'build-**'
|
- 'build/**'
|
||||||
jobs:
|
jobs:
|
||||||
develop-branch:
|
develop-branch:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -19,7 +19,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
firstString=${{ github.ref_name }}
|
firstString=${{ github.ref_name }}
|
||||||
secondString="develop"
|
secondString="develop"
|
||||||
echo ::set-env name=DEVELOPMENT_BRANCH::${firststring/format\//"$secondstring"\/}
|
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build\//"$secondString"\/}
|
||||||
- name: GIT push
|
- name: GIT push
|
||||||
env:
|
env:
|
||||||
CI_COMMIT_MESSAGE: converted to yml for review.
|
CI_COMMIT_MESSAGE: converted to yml for review.
|
||||||
|
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
firstString=${{ github.ref_name }}
|
firstString=${{ github.ref_name }}
|
||||||
secondString="build"
|
secondString="build"
|
||||||
echo ::set-env name=BUILD_BRANCH::${firststring/format\//"$secondstring"\/}
|
echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/}
|
||||||
- name: GIT commit and push all changed files
|
- name: GIT commit and push all changed files
|
||||||
env:
|
env:
|
||||||
CI_COMMIT_MESSAGE: Development branch built to xml.
|
CI_COMMIT_MESSAGE: Development branch built to xml.
|
||||||
|
|
|
@ -24,9 +24,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
firstString=${{ github.ref_name }}
|
firstString=${{ github.ref_name }}
|
||||||
secondString="develop"
|
secondString="develop"
|
||||||
echo $firstString
|
|
||||||
echo $secondString
|
|
||||||
echo ${firstString/format\//"$secondString"\/}
|
|
||||||
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format\//"$secondString"\/}
|
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format\//"$secondString"\/}
|
||||||
- name: clone
|
- name: clone
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
firstString=${{ github.head_ref }}
|
firstString=${{ github.head_ref }}
|
||||||
secondString="build"
|
secondString="build"
|
||||||
echo ::set-env name=BUILD_BRANCH::${firststring/format\//"$secondstring"\/}s
|
echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/}s
|
||||||
if_merged:
|
if_merged:
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -33,7 +33,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
firstString=${{ github.ref_name }}
|
firstString=${{ github.ref_name }}
|
||||||
secondString="build"
|
secondString="build"
|
||||||
echo ::set-env name=BUILD_BRANCH::${firststring/format\//"$secondstring"\/}
|
echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/}
|
||||||
- name: GIT commit and push all changed files
|
- name: GIT commit and push all changed files
|
||||||
env:
|
env:
|
||||||
CI_COMMIT_MESSAGE: Reopened PR copnverted to xml.
|
CI_COMMIT_MESSAGE: Reopened PR copnverted to xml.
|
||||||
|
|
Loading…
Reference in New Issue