Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
hoxbro committed Dec 14, 2023
1 parent 4d1bfaf commit c9eca16
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,21 @@ jobs:
name: Publish Conda Package
runs-on: ubuntu-latest
needs: conda_build
if: startsWith(github.ref, 'refs/tags/')
# if: startsWith(github.ref, 'refs/tags/')
env:
CONDA_UPLOAD_TOKEN: ${{ secrets.CONDA_UPLOAD_TOKEN }}
defaults:
run:
shell: bash -el {0}
steps:
- name: Testing
if: startsWith(github.ref, 'refs/tags/')
run: |
echo "Testing ${{ github.ref }}"
- name: Testing
if: (!startsWith(github.ref, 'refs/tags/'))
run: |
echo "Testing ${{ github.ref }}"
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
Expand All @@ -76,7 +84,7 @@ jobs:
# anaconda --token $CONDA_UPLOAD_TOKEN upload --user pyviz --label=dev ${{ needs.conda_build.env.CONDA_FILE }}
echo "conda dev upload"
- name: conda main upload
if: (!(contains(github.ref, 'a') || contains(github.ref, 'b') || contains(github.ref, 'rc'))))
if: (!(contains(github.ref, 'a') || contains(github.ref, 'b') || contains(github.ref, 'rc')))
run: |
# anaconda --token $CONDA_UPLOAD_TOKEN upload --user pyviz --label=dev --label=main ${{ needs.conda_build.env.CONDA_FILE }}
echo conda main upload
Expand Down

0 comments on commit c9eca16

Please sign in to comment.