mirror of
https://github.com/msberends/AMR.git
synced 2025-06-09 10:34:08 +02:00
Compare commits
No commits in common. "8d2c5afab6447d8f2ce5bd2a5eccb0f3d1523365" and "29706887b44b3fe661fe8e28ac0be46bbd052f16" have entirely different histories.
8d2c5afab6
...
29706887b4
53
.github/workflows/publish-to-pypi.yml
vendored
53
.github/workflows/publish-to-pypi.yml
vendored
@ -60,7 +60,7 @@ jobs:
|
|||||||
cd data-raw/
|
cd data-raw/
|
||||||
bash _generate_python_wrapper.sh
|
bash _generate_python_wrapper.sh
|
||||||
|
|
||||||
- name: Upload to PyPI
|
- name: Publish to PyPI
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
TWINE_USERNAME: "__token__"
|
TWINE_USERNAME: "__token__"
|
||||||
@ -69,7 +69,7 @@ jobs:
|
|||||||
cd PythonPackage/AMR
|
cd PythonPackage/AMR
|
||||||
python -m twine upload dist/*
|
python -m twine upload dist/*
|
||||||
|
|
||||||
- name: Upload to PyPI Testserver
|
- name: Publish to PyPI Testserver
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
TWINE_USERNAME: "__token__"
|
TWINE_USERNAME: "__token__"
|
||||||
@ -78,36 +78,25 @@ jobs:
|
|||||||
cd PythonPackage/AMR
|
cd PythonPackage/AMR
|
||||||
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
||||||
|
|
||||||
# - name: Set up Miniconda
|
- name: Install conda-build
|
||||||
# continue-on-error: true
|
continue-on-error: true
|
||||||
# uses: conda-incubator/setup-miniconda@v2
|
run: |
|
||||||
# with:
|
pip install conda-build anaconda
|
||||||
# auto-update-conda: true
|
|
||||||
# miniconda-version: "latest"
|
- name: Build conda package
|
||||||
# channels: conda-forge,defaults
|
continue-on-error: true
|
||||||
# activate-environment: build-env
|
run: |
|
||||||
# python-version: "3.9"
|
cd PythonPackage/AMR
|
||||||
#
|
conda skeleton pypi . # Generates meta.yaml for the local folder
|
||||||
# - name: Install conda-build and anaconda-client
|
conda-build ./ --output-folder conda-bld
|
||||||
# continue-on-error: true
|
|
||||||
# run: |
|
- name: Publish to Anaconda
|
||||||
# conda install -y conda-build anaconda-client
|
env:
|
||||||
#
|
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
|
||||||
# - name: Build conda package
|
run: |
|
||||||
# continue-on-error: true
|
anaconda login --token $ANACONDA_API_TOKEN
|
||||||
# run: |
|
anaconda upload conda-bld/**/amr-*.tar.bz2 --user msberends --label main
|
||||||
# cd PythonPackage/AMR
|
rm -rf conda-bld
|
||||||
# conda skeleton pypi . # Or use custom recipe
|
|
||||||
# conda-build ./ --output-folder conda-bld
|
|
||||||
#
|
|
||||||
# - name: Upload to Anaconda
|
|
||||||
# continue-on-error: true
|
|
||||||
# env:
|
|
||||||
# ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
|
|
||||||
# run: |
|
|
||||||
# anaconda login --token $ANACONDA_API_TOKEN
|
|
||||||
# anaconda upload conda-bld/**/amr-*.tar.bz2 --user msberends --label main
|
|
||||||
# rm -rf conda-bld
|
|
||||||
|
|
||||||
- name: Git push to python-wrapper branch
|
- name: Git push to python-wrapper branch
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user