Skip to content

Commit 3f58ac3

Browse files
committed
remove release check and conda build (on conda-forge now)
1 parent e70b1db commit 3f58ac3

File tree

1 file changed

+0
-53
lines changed

1 file changed

+0
-53
lines changed

.github/workflows/publish_packages.yml

-53
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,9 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
check-for-new-release:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v3
13-
14-
- name: Check PyPI version
15-
uses: maybe-hello-world/pyproject-check-version@v3
16-
id: versioncheck
17-
with:
18-
pyproject-path: "./pyproject.toml"
19-
20-
- name: Report Results
21-
run: |
22-
echo "New Release found? ${{ steps.versioncheck.outputs.local_version_is_higher }}"
23-
echo "Local version: ${{ steps.versioncheck.outputs.local_version }}"
24-
echo "Public version: ${{ steps.versioncheck.outputs.public_version }}"
25-
outputs:
26-
do_publish: ${{ steps.versioncheck.outputs.local_version_is_higher }}
27-
289
pypi:
2910
name: Build and publish Python 🐍 distributions 📦 to PyPI
3011
runs-on: ubuntu-latest
31-
needs: check-for-new-release
32-
if: ${{ needs.check-for-new-release.outputs.do_publish == 'true' }}
3312
steps:
3413
- uses: actions/checkout@master
3514
- name: Set up Python 3.10
@@ -56,36 +35,4 @@ jobs:
5635
password: ${{ secrets.PYPI_API_TOKEN }}
5736
skip-existing: true
5837
verbose: true
59-
conda:
60-
name: Build and publish Conda distrbutions
61-
needs: pypi # wait for pypi build to finish
62-
runs-on: ubuntu-latest
63-
defaults:
64-
run:
65-
shell: bash -el {0} # login bash for conda calls
66-
steps:
67-
- uses: actions/checkout@master
68-
- name: Set up Python 3.10
69-
uses: actions/setup-python@v3
70-
with:
71-
python-version: "3.10"
72-
- name: Setup miniconda
73-
uses: conda-incubator/setup-miniconda@v2
74-
with:
75-
auto-activate-base: true
76-
activate-environment: ""
77-
- name: Install build dependencies
78-
run: |
79-
conda install conda-build anaconda-client
80-
conda install -c conda-forge grayskull
81-
conda config --set anaconda_upload yes
82-
- name: Build and Push astartes
83-
env:
84-
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
85-
run: |
86-
cd ..
87-
sleep 60s # wait for the PyPI package to be visible
88-
grayskull pypi astartes
89-
cd astartes
90-
conda build .
9138

0 commit comments

Comments
 (0)