....
build-develop-branch / build-branch (push) Failing after 35s
Details
build-develop-branch / build-branch (push) Failing after 35s
Details
This commit is contained in:
parent
2fca33f8d5
commit
3eea22ad50
|
@ -20,12 +20,6 @@ jobs:
|
||||||
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=${{ secrets.BOT_TOKEN }}
|
||||||
- name: get tag
|
|
||||||
run: |
|
|
||||||
../tea r ls -o=simple
|
|
||||||
version="$(../tea r ls -o=simple | head -n 1 | tr " " "\n" | head -n 1)"
|
|
||||||
echo $version
|
|
||||||
echo $version | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g'
|
|
||||||
- uses: http://sigyl.com:3000/actions/setup-node@v3
|
- uses: http://sigyl.com:3000/actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
|
@ -21,9 +21,12 @@ jobs:
|
||||||
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
|
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
- name: tag
|
- name: get tag
|
||||||
run: |
|
run: |
|
||||||
../tea r ls -o=simple
|
../tea r ls -o=simple
|
||||||
|
version="$(../tea r ls -o=simple | head -n 1 | tr " " "\n" | head -n 1)"
|
||||||
|
version=$version | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g'
|
||||||
|
../tea r c --note="this isrelease ${version}" --tag=${version} --title=${version} --target=${{ github.sha }}
|
||||||
- name: delete develop branch
|
- name: delete develop branch
|
||||||
id: delete_develop_branch
|
id: delete_develop_branch
|
||||||
run: git push origin --delete ${{ github.head_ref }}
|
run: git push origin --delete ${{ github.head_ref }}
|
||||||
|
|
Loading…
Reference in New Issue