Skip to content

feat: optimize actions #4

feat: optimize actions

feat: optimize actions #4

Workflow file for this run

name: Release & Publish
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
draft: false
prerelease: contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta')
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/publish