Skip to content

Commit

Permalink
Manually re-build windows and ubuntu packages
Browse files Browse the repository at this point in the history
  • Loading branch information
roomrys committed Aug 31, 2024
1 parent 1c6d722 commit 307bfd7
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions .github/workflows/build_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["macos-latest"] # "ubuntu-22.04", "windows-2022",
os: ["ubuntu-22.04", "windows-2022"] # "macos-latest",
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategymatrixinclude
include:
# Use this condarc as default
Expand Down Expand Up @@ -64,19 +64,19 @@ jobs:
# run: |
# twine upload -u __token__ -p "$PYPI_TOKEN" dist/* --non-interactive --skip-existing --disable-progress-bar

# # Build conda package (Ubuntu)
# - name: Build conda package (Ubuntu)
# if: matrix.os == 'ubuntu-22.04'
# shell: bash -l {0}
# run: |
# conda build .conda --output-folder build
# Build conda package (Ubuntu)
- name: Build conda package (Ubuntu)
if: matrix.os == 'ubuntu-22.04'
shell: bash -l {0}
run: |
conda build .conda --output-folder build
# # Build conda package (Windows)
# - name: Build conda package (Windows)
# if: matrix.os == 'windows-2022'
# shell: powershell
# run: |
# conda build .conda --output-folder build
# Build conda package (Windows)
- name: Build conda package (Windows)
if: matrix.os == 'windows-2022'
shell: powershell
run: |
conda build .conda --output-folder build
# Build conda package (Mac)
- name: Build conda package (Mac)
Expand All @@ -85,23 +85,23 @@ jobs:
run: |
conda build .conda_mac --output-folder build
# # Login to conda (Ubuntu)
# - name: Login to Anaconda (Ubuntu)
# if: matrix.os == 'ubuntu-22.04'
# env:
# ANACONDA_LOGIN: ${{ secrets.ANACONDA_LOGIN }}
# shell: bash -l {0}
# run: |
# yes 2>/dev/null | anaconda login --username sleap --password "$ANACONDA_LOGIN" || true
# Login to conda (Ubuntu)
- name: Login to Anaconda (Ubuntu)
if: matrix.os == 'ubuntu-22.04'
env:
ANACONDA_LOGIN: ${{ secrets.ANACONDA_LOGIN }}
shell: bash -l {0}
run: |
yes 2>/dev/null | anaconda login --username sleap --password "$ANACONDA_LOGIN" || true
# # Login to conda (Windows)
# - name: Login to Anaconda (Windows)
# if: matrix.os == 'windows-2022'
# env:
# ANACONDA_LOGIN: ${{ secrets.ANACONDA_LOGIN }}
# shell: powershell
# run: |
# echo "yes" | anaconda login --username sleap --password "$env:ANACONDA_LOGIN"
# Login to conda (Windows)
- name: Login to Anaconda (Windows)
if: matrix.os == 'windows-2022'
env:
ANACONDA_LOGIN: ${{ secrets.ANACONDA_LOGIN }}
shell: powershell
run: |
echo "yes" | anaconda login --username sleap --password "$env:ANACONDA_LOGIN"
# Login to conda (Mac)
- name: Login to Anaconda (Mac)
Expand All @@ -112,19 +112,19 @@ jobs:
run: |
yes 2>/dev/null | anaconda login --username sleap --password "$ANACONDA_LOGIN" || true
# # Upload conda package (Windows)
# - name: Upload conda package (Windows/dev)
# if: matrix.os == 'windows-2022'
# shell: powershell
# run: |
# anaconda -v upload "build\win-64\*.tar.bz2" --label dev
# Upload conda package (Windows)
- name: Upload conda package (Windows/dev)
if: matrix.os == 'windows-2022'
shell: powershell
run: |
anaconda -v upload "build\win-64\*.tar.bz2" --label dev
# # Upload conda package (Ubuntu)
# - name: Upload conda package (Ubuntu/dev)
# if: matrix.os == 'ubuntu-22.04'
# shell: bash -l {0}
# run: |
# anaconda -v upload build/linux-64/*.tar.bz2 --label dev
# Upload conda package (Ubuntu)
- name: Upload conda package (Ubuntu/dev)
if: matrix.os == 'ubuntu-22.04'
shell: bash -l {0}
run: |
anaconda -v upload build/linux-64/*.tar.bz2 --label dev
# Upload conda package (Mac)
- name: Upload conda package (Mac/dev)
Expand Down

0 comments on commit 307bfd7

Please sign in to comment.