remote auto tag remove
Some checks failed
Build iso when a new version is pushed / build_and_create_release (push) Failing after 10s
Some checks failed
Build iso when a new version is pushed / build_and_create_release (push) Failing after 10s
This commit is contained in:
@ -25,8 +25,9 @@ jobs:
|
|||||||
# run: make iso
|
# run: make iso
|
||||||
#
|
#
|
||||||
- name: fetch tags
|
- name: fetch tags
|
||||||
run: git fetch --tags
|
run: |
|
||||||
run: echo ${{secrets.RELEASE_TOKEN}}
|
git fetch --tags
|
||||||
|
echo ${{secrets.RELEASE_TOKEN}}
|
||||||
|
|
||||||
- name: create release
|
- name: create release
|
||||||
uses: https://gitea.com/actions/release-action@main
|
uses: https://gitea.com/actions/release-action@main
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
name: Build iso when a new version is pushed
|
|
||||||
run-name: iso building
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
create_and_push_tag:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: get repo
|
|
||||||
uses: actions/checkout@v4.2.2
|
|
||||||
|
|
||||||
- name: create tag
|
|
||||||
run: |
|
|
||||||
TAG=$(git rev-parse --short HEAD)
|
|
||||||
echo "Creating tag $TAG"
|
|
||||||
git config user.name "gitea-actions"
|
|
||||||
git config user.email "actions@gitea.com"
|
|
||||||
git tag "$TAG"
|
|
||||||
git push origin "$TAG"
|
|
Reference in New Issue
Block a user