mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-11-05 07:39:47 +00:00
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](dc37677b2e...7245906fb6)
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-version: 1.14.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
name: Release / ReMe Python package
|
|
|
|
# Publishing a GitHub Release is the primary release trigger for reme-ai; workflow_dispatch is the recovery path.
|
|
# Manual runs publish the version in reme/__init__.py from the selected ref.
|
|
# Configure a PyPI Trusted Publisher for this repository, workflow, and its pypi environment first.
|
|
|
|
run-name: Publish reme-ai ${{ github.event.release.tag_name || github.ref_name }}
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
release:
|
|
types: [published]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: publish-reme-ai
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
build:
|
|
name: Build and verify distributions
|
|
uses: ./.github/workflows/_build-python-packages.yml
|
|
with:
|
|
expected_version: ${{ github.event.release.tag_name }}
|
|
upload_artifacts: true
|
|
|
|
publish-reme:
|
|
needs: build
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
environment: pypi
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
steps:
|
|
- name: Download ReMe distributions
|
|
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
with:
|
|
name: reme-distributions
|
|
path: dist/reme
|
|
|
|
- name: Publish ReMe
|
|
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1
|
|
with:
|
|
packages-dir: dist/reme
|
|
skip-existing: true
|