Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 7, 2025

Implements automated GitHub Actions workflow for building and publishing modules using uv and pyrmm.

Workflow Steps

  • Install uv via official astral-sh/setup-uv@v3 action
  • Install pyrmm using uv tool install pyrmm
  • Execute rmm build in project root
  • Upload artifacts from .rmmp/dist/**
  • Publish with rmm publish (main/master pushes only)

Configuration

  • Triggers: push/PR to main/master, manual dispatch
  • Permissions: contents: read, actions: write
  • Conditional artifact upload on build success
  • Publishing requires authentication (configure secrets as needed)
- name: Install uv
  uses: astral-sh/setup-uv@v3

- name: Install pyrmm
  run: uv tool install pyrmm

- name: Build module
  run: rmm build
Original prompt

默认有一个模块构建工作流

步骤如下:
先安装uv(官方提供了action步骤)
然后执行uv tool install pyrmm
然后在项目根目录执行rmm build
构建产物在:
.rmmp/dist/

然后执行rmm publish即可快捷发布


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 4 commits November 7, 2025 10:52
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com>
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com>
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com>
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com>
Copilot AI changed the title [WIP] Add workflow for installing uv and building with rmm Add module build workflow with uv and pyrmm Nov 7, 2025
Copilot AI requested a review from LIghtJUNction November 7, 2025 10:58
Copilot finished work on behalf of LIghtJUNction November 7, 2025 10:58
@LIghtJUNction LIghtJUNction marked this pull request as ready for review November 7, 2025 11:34
@LIghtJUNction LIghtJUNction merged commit ee4a8b4 into main Nov 7, 2025
0 of 2 checks passed
@LIghtJUNction LIghtJUNction deleted the copilot/setup-uv-tool-workflow branch November 7, 2025 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants