Skip to content

Commit 8067b83

Browse files
Reset branches back to normal ready for merge
1 parent f1c7df1 commit 8067b83

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ name: Build and Release
33
on:
44
push:
55
branches:
6-
- conda
7-
# - master
8-
# - maintenance/*
6+
- master
7+
- maintenance/*
98
create:
109
tags:
1110
- 'v[0-9]+.[0-9]+.[0-9]+*'
@@ -201,12 +200,12 @@ jobs:
201200
name: conda_packages
202201
path: ./conda_packages
203202

204-
# - name: Publish on TestPyPI
205-
# uses: pypa/gh-action-pypi-publish@master
206-
# with:
207-
# user: __token__
208-
# password: ${{ secrets.testpypi }}
209-
# repository_url: https://test.pypi.org/legacy/
203+
- name: Publish on TestPyPI
204+
uses: pypa/gh-action-pypi-publish@master
205+
with:
206+
user: __token__
207+
password: ${{ secrets.testpypi }}
208+
repository_url: https://test.pypi.org/legacy/
210209

211210
- name: Get Version Number
212211
if: github.event.ref_type == 'tag'
@@ -252,17 +251,17 @@ jobs:
252251
conda activate
253252
conda install anaconda-client
254253
255-
# - name: Publish to Anaconda test label
256-
# if: github.event.ref_type != 'tag'
257-
# run: |
258-
# source .miniconda/etc/profile.d/conda.sh
259-
# conda activate
260-
# anaconda \
261-
# --token ${{ secrets.ANACONDA_API_TOKEN }} \
262-
# upload \
263-
# --user $ANACONDA_USER \
264-
# --label test \
265-
# conda_packages/*/*
254+
- name: Publish to Anaconda test label
255+
if: github.event.ref_type != 'tag'
256+
run: |
257+
source .miniconda/etc/profile.d/conda.sh
258+
conda activate
259+
anaconda \
260+
--token ${{ secrets.ANACONDA_API_TOKEN }} \
261+
upload \
262+
--user $ANACONDA_USER \
263+
--label test \
264+
conda_packages/*/*
266265
267266
- name: Publish to Anaconda main label
268267
if: github.event.ref_type == 'tag'

0 commit comments

Comments
 (0)