17 lines
435 B
YAML
17 lines
435 B
YAML
name: Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
|
- 'v[0-9]+.[0-9]+.[0-9]+.(dev|beta)'
|
|
|
|
jobs:
|
|
build:
|
|
uses: ./.github/workflows/build.yml
|
|
secrets: inherit
|
|
permissions: write-all
|
|
with:
|
|
upload-artifact: true
|
|
tag-name: "${{ github.ref_name }}"
|
|
channel: "${{ github.ref_type == 'tag' && endsWith(github.ref_name, 'dev') && 'dev' || github.ref_type != 'tag' && 'dev' || 'prod' }}"
|