Tweak: trigger release action by tag

This commit is contained in:
33 committed 2023-01-04 17:11:43 +08:00
1 parent 82f0aad9ff
commit bd409ae169
4 files changed
+11 -6

No files matched your search

+2 -1
View File
@@ -1,4 +1,4 @@
name: beta
name: Beta
on:
push:
branches:
@@ -6,6 +6,7 @@ on:
jobs:
build-beta:
name: Build Beta
uses: xfl03/MCCustomSkinLoader/.github/workflows/common.yml@14-develop
with:
type: Beta
+2 -1
View File
@@ -1,4 +1,4 @@
name: canary
name: Canary
on:
push:
branches:
@@ -6,6 +6,7 @@ on:
jobs:
build-canary:
name: Build Canary
uses: xfl03/MCCustomSkinLoader/.github/workflows/common.yml@15-develop
with:
type: Canary
+3 -1
View File
@@ -1,3 +1,4 @@
name: Common
on:
workflow_call:
inputs:
@@ -9,7 +10,8 @@ on:
type: string
jobs:
common_build:
build-common:
name: Build Common
runs-on: ubuntu-latest
environment: Build
steps:
+4 -3
View File
@@ -1,11 +1,12 @@
name: release
name: Release
on:
push:
branches:
- '14-release'
tags:
- '*'
jobs:
build-release:
name: Build Release
uses: xfl03/MCCustomSkinLoader/.github/workflows/common.yml@14-release
with:
type: Release