chore(ci): with name, and should support branch for tag name

This commit is contained in:
Neko Ayaka
2026-04-10 19:49:07 +08:00
parent 9fe3abdf5b
commit b59c8d0861
+2 -1
View File
@@ -10,7 +10,7 @@ on:
jobs:
ghcr_build_assets:
name: Release Assets
name: Release Assets (${{ matrix.assets_name }})
runs-on: ubuntu-latest
permissions:
contents: read
@@ -54,6 +54,7 @@ jobs:
flavor: |
latest=true
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}