Compare commits

..

2 Commits

Author SHA1 Message Date
Continuous Integration a2a35d605d Continuous Integration Build Artifacts yml files converted to xml 2023-10-22 20:29:04 +00:00
Continuous Integration 4e2b9081e2 Continuous Integration Build Artifacts xml files converted to yml
build-develop-branch / build-branch (push) Successful in 26s Details
2023-10-22 20:28:36 +00:00
4 changed files with 12 additions and 6 deletions

View File

@ -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=${{ secrets.BOT_TOKEN }} ./tea login add -n=this --url=${{ github.server_url}} -t=${{ github.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,7 +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: Development branch built to xml. CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration 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 }}"

View File

@ -22,7 +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: approved yml conveted to xml. CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration CI_COMMIT_AUTHOR: Continuous Integration
run: | run: |
echo ${{ github.ref_name }} echo ${{ github.ref_name }}

View File

@ -26,7 +26,11 @@ 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
@ -37,9 +41,11 @@ 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: converted to yml for review. CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration 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 }}"

View File

@ -36,7 +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: Reopened PR copnverted to xml. CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration 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 }}"