mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-14 23:21:04 +00:00
Some checks failed
CI / DSH plugin / Validate DSH plugin (push) Has been cancelled
CI / OpenClaw plugin / Validate OpenClaw plugin (push) Has been cancelled
CI / Python packages / Build and verify distributions (push) Has been cancelled
CI / Python quality / GitHub Actions (push) Has been cancelled
CI / Python quality / Pre-commit (push) Has been cancelled
CI / Python tests / Unit Tests - py3.11 (push) Has been cancelled
CI / Python tests / Unit Tests - py3.12 (push) Has been cancelled
CI / Python tests / Unit Tests - py3.13 (push) Has been cancelled
CI / Python tests / Unit Tests - py3.14 (push) Has been cancelled
CI / ReMe Studio / Studio checks (push) Has been cancelled
CI / Windows / CLI smoke - py3.11 (push) Has been cancelled
Deploy / Documentation / Build documentation (push) Has been cancelled
Security / CodeQL / Analyze javascript-typescript (push) Has been cancelled
Security / CodeQL / Analyze python (push) Has been cancelled
Deploy / Documentation / deploy (push) Has been cancelled
* chore(ci): harden and split workflows * fix(ci): support token-based npm publishing * test: make disappearing resource check portable * fix(ci): make Studio releases recoverable * fix(ci): stop Studio publishing on cancellation
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
# Configure npm Trusted Publishing for this caller filename and the npm environment.
|
|
name: Release / DSH plugin
|
|
|
|
run-name: Publish ReMe DSH plugin ${{ inputs.version }} (${{ inputs.npm_tag }})
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: Exact package.json version; an optional v prefix is accepted
|
|
required: true
|
|
type: string
|
|
npm_tag:
|
|
description: npm distribution tag
|
|
required: true
|
|
default: latest
|
|
type: choice
|
|
options:
|
|
- next
|
|
- latest
|
|
use_npm_token:
|
|
description: Use the npm environment NPM_TOKEN instead of Trusted Publishing
|
|
required: true
|
|
default: false
|
|
type: boolean
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: publish-reme-dsh-plugin
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
release:
|
|
if: github.ref == 'refs/heads/main'
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
uses: ./.github/workflows/_release-npm-plugin.yml
|
|
secrets:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
with:
|
|
directory: integrations/dsh
|
|
package_name: '@agentscope-ai/reme-dsh-plugin'
|
|
artifact_name: agentscope-ai-reme-dsh-plugin
|
|
version: ${{ inputs.version }}
|
|
npm_tag: ${{ inputs.npm_tag }}
|
|
use_npm_token: ${{ inputs.use_npm_token }}
|