Skip to content

Commit

Permalink
Update version and disable conda for conda-forge staging process
Browse files Browse the repository at this point in the history
  • Loading branch information
julesghub committed Dec 19, 2022
1 parent a0a38ab commit 331c645
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 40 deletions.
79 changes: 40 additions & 39 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,44 +289,45 @@ jobs:
#cp -rf ../UWGeodynamics/benchmarks UWGeodynamics/.
#pytest -vvv UWGeodynamics
conda_build:
name: Conda Build (Python ${{matrix.python-version}} ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest"]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}

- name: Config Conda
shell: bash -l {0}
run: |
conda install --channel conda-forge conda-build anaconda-client conda-verify
conda config --add channels conda-forge
conda config --add channels underworldcode
conda config --set anaconda_upload no
anaconda logout
- name: Config Conda For Upload
if: github.event_name == 'release'
shell: bash -l {0}
run: conda config --set anaconda_upload yes

- name: Upload new Packages
if: github.event_name == 'release'
shell: bash -l {0}
run: |
conda info
anaconda login --hostname github-actions-${{ matrix.os }}-$RANDOM --username ${{ secrets.ANACONDA_USERNAME }} --password ${{ secrets.ANACONDA_PASSWORD }}
conda-build --channel conda-forge --user geo-down-under conda
anaconda logout
#
# conda_build:
# name: Conda Build (Python ${{matrix.python-version}} ${{ matrix.os }})
# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# os: ["ubuntu-latest", "macos-latest"]
# python-version: ["3.9", "3.10"]
# steps:
# - uses: actions/checkout@v3
# - uses: conda-incubator/setup-miniconda@v2
# with:
# auto-update-conda: true
# python-version: ${{ matrix.python-version }}
#
# - name: Config Conda
# shell: bash -l {0}
# run: |
# conda install --channel conda-forge conda-build anaconda-client conda-verify
# conda config --add channels conda-forge
# conda config --add channels underworldcode
# conda config --set anaconda_upload no
# anaconda logout
#
# - name: Config Conda For Upload
# if: github.event_name == 'release'
# shell: bash -l {0}
# run: conda config --set anaconda_upload yes
#
# - name: Upload new Packages
# if: github.event_name == 'release'
# shell: bash -l {0}
# run: |
# conda info
# anaconda login --hostname github-actions-${{ matrix.os }}-$RANDOM --username ${{ secrets.ANACONDA_USERNAME }} --password ${{ secrets.ANACONDA_PASSWORD }}
# conda-build --channel conda-forge --user geo-down-under conda
# anaconda logout
#
pypi:
runs-on: ${{ matrix.os }}
Expand All @@ -336,7 +337,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down
2 changes: 1 addition & 1 deletion underworld/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.14.0b"
__version__ = "2.14.1b"

0 comments on commit 331c645

Please sign in to comment.