................
convert-to-yml / develop-branch (push) Successful in 27s Details

This commit is contained in:
giles 2023-10-23 02:07:34 +01:00
parent f4214161fe
commit 1309d6c3fb
6 changed files with 6 additions and 9 deletions

View File

@ -27,7 +27,7 @@ jobs:
run: |
firstString=${{ github.ref_name }}
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
env:
CI_COMMIT_MESSAGE: converted to yml for review.

View File

@ -3,7 +3,7 @@ run-name: ${{ github.actor }} is learning GitHub Actions
on:
push:
branches:
- 'build-**'
- 'build/**'
jobs:
develop-branch:
runs-on: ubuntu-latest
@ -19,7 +19,7 @@ jobs:
run: |
firstString=${{ github.ref_name }}
secondString="develop"
echo ::set-env name=DEVELOPMENT_BRANCH::${firststring/format\//"$secondstring"\/}
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build\//"$secondString"\/}
- name: GIT push
env:
CI_COMMIT_MESSAGE: converted to yml for review.

View File

@ -34,7 +34,7 @@ jobs:
run: |
firstString=${{ github.ref_name }}
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
env:
CI_COMMIT_MESSAGE: Development branch built to xml.

View File

@ -24,9 +24,6 @@ jobs:
run: |
firstString=${{ github.ref_name }}
secondString="develop"
echo $firstString
echo $secondString
echo ${firstString/format\//"$secondString"\/}
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format\//"$secondString"\/}
- name: clone
run: |

View File

@ -27,7 +27,7 @@ jobs:
run: |
firstString=${{ github.head_ref }}
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: github.event.pull_request.merged == true
runs-on: ubuntu-latest

View File

@ -33,7 +33,7 @@ jobs:
run: |
firstString=${{ github.ref_name }}
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
env:
CI_COMMIT_MESSAGE: Reopened PR copnverted to xml.