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 1b851e4 commit 87c15d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 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 @@ -29,9 +27,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 }}
2 changes: 1 addition & 1 deletion meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package:
version: "{{ GIT_DESCRIBE_TAG }}"

source:
git_rev: origin/master
git_rev: origin/automate-versioning
git_url: https://github.com/haasad/PyPardisoProject.git

build:
Expand Down

0 comments on commit 87c15d3

Please sign in to comment.