Skip to content

Commit

Permalink
Test release pipeline builds
Browse files Browse the repository at this point in the history
  • Loading branch information
haasad committed Nov 16, 2023
1 parent cc19ac9 commit ac4f22f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/conda-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ name: conda-release
on:
push:
branches:
- master
- conda-release
tags:
- 'v*'
- automate-versioning

jobs:
build-and-publish:
Expand All @@ -28,8 +25,3 @@ jobs:
shell: bash -l {0}
run: |
conda build .
- name: Upload to haasad conda channel
if: startsWith(github.ref, 'refs/tags/v')
shell: bash -l {0}
run: |
anaconda -t ${{ secrets.CONDA_TOKEN }} upload /usr/share/miniconda/envs/test/conda-bld/noarch/*.tar.bz2
10 changes: 1 addition & 9 deletions .github/workflows/pypi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ name: PyPI release
on:
push:
branches:
- master
tags:
- '*'
- automate-versioning

jobs:
build-and-publish:
Expand All @@ -27,9 +25,3 @@ jobs:
echo "VERSION=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV"
- name: Build
run: python -m build
- name: Upload to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit ac4f22f

Please sign in to comment.