Skip to content

Update main.yml

Update main.yml #55

Workflow file for this run

name: Create Tag and Publish Release
on:
push:
branches:
- main
jobs:
create_tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ButlerLogic/action-autotag@1.1.4
env:
GITHUB_TOKEN: '${{ secrets.GTHB_TOKEN }}'
delete_draft_tags:
needs: create_tag
runs-on: ubuntu-latest
steps:
- name: Delete draft release tags
uses: hugo19941994/delete-draft-releases@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GTHB_TOKEN }}