Skip to content

cleanup stream folder before start #7

cleanup stream folder before start

cleanup stream folder before start #7

Workflow file for this run

name: Check New Release
on:
push:
tags:
- "v[0-9]*"
permissions:
contents: write
jobs:
release:
name: Release on pushed Tag
runs-on: ubuntu-22.04
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release list --repo="$GITHUB_REPOSITORY" \
| grep -q "$tag" && echo "Release $tag already exists" \
|| gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="$Release ${tag}" \
--generate-notes