..
convert-to-yml / develop-branch (push) Failing after 24s
Details
convert-to-yml / develop-branch (push) Failing after 24s
Details
This commit is contained in:
parent
e2811890b8
commit
f853add5c0
|
@ -23,7 +23,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
|
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
|
||||||
chmod +x ./tea
|
chmod +x ./tea
|
||||||
./tea login add -n=this --url=${{ github.server_url}} -t=${{ github.token }}
|
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
|
||||||
echo ::set-env name=PR::$(./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1)
|
echo ::set-env name=PR::$(./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1)
|
||||||
rm ./tea
|
rm ./tea
|
||||||
- name: get build branch name
|
- name: get build branch name
|
||||||
|
@ -33,8 +33,7 @@ jobs:
|
||||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$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: Continuous Integration Build Artifacts
|
CI_COMMIT_MESSAGE: Development branch built to xml.
|
||||||
CI_COMMIT_AUTHOR: Continuous Integration
|
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||||
git config --global user.email "username@users.noreply.github.com"
|
git config --global user.email "username@users.noreply.github.com"
|
||||||
|
|
|
@ -22,8 +22,7 @@ jobs:
|
||||||
path: '.'
|
path: '.'
|
||||||
- name: GIT commit and push all changed files
|
- name: GIT commit and push all changed files
|
||||||
env:
|
env:
|
||||||
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
|
CI_COMMIT_MESSAGE: approved yml conveted to xml.
|
||||||
CI_COMMIT_AUTHOR: Continuous Integration
|
|
||||||
run: |
|
run: |
|
||||||
echo ${{ github.ref_name }}
|
echo ${{ github.ref_name }}
|
||||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||||
|
|
|
@ -26,11 +26,7 @@ jobs:
|
||||||
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format-/"$secondString"}
|
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format-/"$secondString"}
|
||||||
- name: clone
|
- name: clone
|
||||||
run: |
|
run: |
|
||||||
git remote -v
|
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
|
||||||
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
|
|
||||||
git -C ../cloned remote -v
|
|
||||||
|
|
||||||
git -C ../cloned status
|
|
||||||
mv ../cloned/.git ..
|
mv ../cloned/.git ..
|
||||||
rm -rf ../cloned
|
rm -rf ../cloned
|
||||||
cp -r . ../cloned
|
cp -r . ../cloned
|
||||||
|
@ -41,12 +37,9 @@ jobs:
|
||||||
rm -r .git
|
rm -r .git
|
||||||
mv ../cloned/* .
|
mv ../cloned/* .
|
||||||
mv ../cloned/.git .
|
mv ../cloned/.git .
|
||||||
ls -la
|
|
||||||
git status
|
|
||||||
- name: GIT commit and push all changed files
|
- name: GIT commit and push all changed files
|
||||||
env:
|
env:
|
||||||
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
|
CI_COMMIT_MESSAGE: converted to yml for review
|
||||||
CI_COMMIT_AUTHOR: Continuous Integration
|
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||||
git config --global user.email "username@users.noreply.github.com"
|
git config --global user.email "username@users.noreply.github.com"
|
||||||
|
|
|
@ -36,8 +36,7 @@ jobs:
|
||||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$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: Continuous Integration Build Artifacts
|
CI_COMMIT_MESSAGE: Reopened PR copnverted to xml.
|
||||||
CI_COMMIT_AUTHOR: Continuous Integration
|
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||||
git config --global user.email "username@users.noreply.github.com"
|
git config --global user.email "username@users.noreply.github.com"
|
||||||
|
|
Loading…
Reference in New Issue