mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-06 02:48:22 +00:00
ci: publish reme-ai from GitHub releases (#507)
This commit is contained in:
parent
c85917a812
commit
21f7757c80
1 changed files with 5 additions and 2 deletions
7
.github/workflows/release-python.yml
vendored
7
.github/workflows/release-python.yml
vendored
|
|
@ -1,7 +1,8 @@
|
|||
name: Release / Python packages
|
||||
|
||||
# GitHub Releases in this repository publish only the reme-ai Python package.
|
||||
# Configure a PyPI Trusted Publisher for this repository, workflow, and its
|
||||
# pypi environment before running the manual release.
|
||||
# pypi environment before running an automatic or manual release.
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
|
@ -10,6 +11,8 @@ on:
|
|||
description: Release version
|
||||
required: true
|
||||
type: string
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
@ -23,7 +26,7 @@ jobs:
|
|||
name: Build and verify distributions
|
||||
uses: ./.github/workflows/_build-python-packages.yml
|
||||
with:
|
||||
expected_version: ${{ inputs.version }}
|
||||
expected_version: ${{ github.event_name == 'release' && github.event.release.tag_name || inputs.version }}
|
||||
upload_artifacts: true
|
||||
|
||||
publish-reme:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue