mirror of
https://github.com/open-webui/computer.git
synced 2026-11-22 21:50:43 -05:00
refac
This commit is contained in:
1 parent
03601a522c
commit
893d480665
1 file changed
+13
-7
@@ -109,7 +109,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
environment: pypi
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Download dist artifacts
|
||||
@@ -118,18 +117,25 @@ jobs:
|
||||
name: dist
|
||||
path: dist/
|
||||
|
||||
- name: Publish to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
# No API token needed - uses OIDC trusted publishing.
|
||||
# Configure at: https://pypi.org/manage/project/cptr/settings/publishing/
|
||||
|
||||
github-release-assets:
|
||||
needs: build
|
||||
if: needs.build.outputs.skip != 'true'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Download release artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: release-assets
|
||||
path: release-assets/
|
||||
|
||||
- name: Publish to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
# No API token needed - uses OIDC trusted publishing.
|
||||
# Configure at: https://pypi.org/manage/project/cptr/settings/publishing/
|
||||
|
||||
- name: Upload GitHub release artifacts
|
||||
- name: Attach GitHub release artifacts
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VERSION: ${{ needs.build.outputs.version }}
|
||||
|
||||
Reference in new issue
Block a user