Skip to content

Commit

Permalink
Run on the current branch, with actual upload steps commented out, to…
Browse files Browse the repository at this point in the history
… test
  • Loading branch information
chrisjbillington committed Dec 6, 2024
1 parent fbb2f52 commit b3d68c6
Showing 1 changed file with 31 additions and 30 deletions.
61 changes: 31 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
- maintenance/*
- automatic-config-workflow
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'

Expand Down Expand Up @@ -272,12 +273,12 @@ jobs:
path: ./dist
merge-multiple: true

- name: Publish on TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TESTPYPI }}
repository-url: https://test.pypi.org/legacy/
# - name: Publish on TestPyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.TESTPYPI }}
# repository-url: https://test.pypi.org/legacy/


pypi-upload:
Expand All @@ -293,11 +294,11 @@ jobs:
path: ./dist
merge-multiple: true

- name: Publish on PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI }}
# - name: Publish on PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI }}


test-anaconda-upload:
Expand Down Expand Up @@ -326,16 +327,16 @@ jobs:
shell: bash -l {0}
run: conda install anaconda-client

- name: Publish to Anaconda test label
shell: bash -l {0}
run: |
anaconda \
--token ${{ secrets.ANACONDA_API_TOKEN }} \
upload \
--skip-existing \
--user ${{ vars.ANACONDA_USER }} \
--label test \
conda_packages/*/*
# - name: Publish to Anaconda test label
# shell: bash -l {0}
# run: |
# anaconda \
# --token ${{ secrets.ANACONDA_API_TOKEN }} \
# upload \
# --skip-existing \
# --user ${{ vars.ANACONDA_USER }} \
# --label test \
# conda_packages/*/*


anaconda-upload:
Expand Down Expand Up @@ -364,12 +365,12 @@ jobs:
shell: bash -l {0}
run: conda install anaconda-client

- name: Publish to Anaconda main
shell: bash -l {0}
run: |
anaconda \
--token ${{ secrets.ANACONDA_API_TOKEN }} \
upload \
--skip-existing \
--user ${{ vars.ANACONDA_USER }} \
conda_packages/*/*
# - name: Publish to Anaconda main
# shell: bash -l {0}
# run: |
# anaconda \
# --token ${{ secrets.ANACONDA_API_TOKEN }} \
# upload \
# --skip-existing \
# --user ${{ vars.ANACONDA_USER }} \
# conda_packages/*/*

0 comments on commit b3d68c6

Please sign in to comment.