ci: simplify Gitea publish workflow trigger
Some checks failed
Publish @bytelyst/* packages / publish (push) Failing after 1m38s
CI — Common Platform / Build, Test & Typecheck (push) Successful in 1m55s

This commit is contained in:
root 2026-05-25 06:04:52 +00:00
parent 9b884d6e85
commit 079e46b74d

View File

@ -1,24 +1,10 @@
name: Publish @bytelyst/* packages
on:
push:
branches:
- main
tags:
- 'v*'
paths:
- 'packages/**/package.json'
- '.gitea/workflows/publish-packages.yml'
workflow_dispatch:
inputs:
dry_run:
description: 'Build + pack but skip publish'
required: false
default: 'true'
package_filter:
description: 'Optional package name to restrict publish/dry-run, e.g. @bytelyst/errors'
required: false
default: '@bytelyst/errors'
push:
branches: [main]
tags: ['v*']
concurrency:
group: publish-${{ github.ref }}
@ -66,7 +52,7 @@ jobs:
- name: Discover unpublished packages
env:
PACKAGE_FILTER: ${{ inputs.package_filter || '@bytelyst/errors' }}
PACKAGE_FILTER: '@bytelyst/errors'
run: |
set -euo pipefail
: > /tmp/packages-to-publish.tsv
@ -95,7 +81,7 @@ jobs:
- name: Build, test, pack, and optionally publish queued packages
env:
DRY_RUN: ${{ inputs.dry_run || 'false' }}
DRY_RUN: 'false'
run: |
set -euo pipefail
mkdir -p /tmp/tarballs