Skip to content

Commit

Permalink
fix(ci): remove prefix.dev build
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Jan 18, 2025
1 parent c0f8f44 commit 68ef970
Showing 1 changed file with 26 additions and 24 deletions.
50 changes: 26 additions & 24 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,31 +113,33 @@ jobs:
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

publish-to-prefix-dev:
name: >-
Publish Python 🐍 distribution 📦 to prefix.dev
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build-conda
runs-on: ubuntu-latest
# No longer working, but does not seem to be token-related, possibly due
# to clash with conda-forget, which prefix.dev also recognises.
# publish-to-prefix-dev:
# name: >-
# Publish Python 🐍 distribution 📦 to prefix.dev
# if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
# needs:
# - build-conda
# runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: conda-package
path: output
- uses: prefix-dev/[email protected]
name: Setup pixi
with:
pixi-version: v0.19.1
cache: false
manifest-path: "pyproject.toml"
auth-host: https://prefix.dev/api/v1/upload/dewret
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}
- name: Upload to prefix.dev
run: pixi upload https://prefix.dev/api/v1/upload/dewret output/**/*.conda
# steps:
# - uses: actions/checkout@v4
# - name: Download all the dists
# uses: actions/download-artifact@v4
# with:
# name: conda-package
# path: output
# - uses: prefix-dev/[email protected]
# name: Setup pixi
# with:
# pixi-version: v0.19.1
# cache: false
# manifest-path: "pyproject.toml"
# auth-host: https://prefix.dev/api/v1/upload/dewret
# auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}
# - name: Upload to prefix.dev
# run: pixi upload https://prefix.dev/api/v1/upload/dewret output/**/*.conda

github-release:
name: >-
Expand Down

0 comments on commit 68ef970

Please sign in to comment.