Skip to content

Commit

Permalink
Update CI and build conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
talmo committed Dec 10, 2020
1 parent f4f0070 commit 20fda38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# PyPI and conda package builds on release.
# TODO: Update branch conditionals below to use develop instead of tf23 when we switch CI systems.
name: Build

on:
# push:
# branches:
# - tf23
# branches: # Use this to trigger a build if the release build failed
# - master
# - develop

release:
Expand Down Expand Up @@ -102,8 +101,7 @@ jobs:
anaconda -v upload "build\win-64\*.tar.bz2"
anaconda logout
- name: Upload conda package (Windows/dev)
# if: matrix.os == 'windows-2019' && github.ref == 'refs/heads/develop'
if: matrix.os == 'windows-2019' && github.ref == 'refs/heads/tf23'
if: matrix.os == 'windows-2019' && github.ref == 'refs/heads/develop'
shell: powershell
run: |
anaconda -v upload "build\win-64\*.tar.bz2" --label dev
Expand All @@ -116,8 +114,7 @@ jobs:
anaconda -v upload build/linux-64/*.tar.bz2
anaconda logout
- name: Upload conda package (Ubuntu/dev)
# if: matrix.os == 'ubuntu-18.04' && github.ref == 'refs/heads/develop'
if: matrix.os == 'ubuntu-18.04' && github.ref == 'refs/heads/tf23'
if: matrix.os == 'ubuntu-18.04' && github.ref == 'refs/heads/develop'
shell: bash -l {0}
run: |
anaconda -v upload build/linux-64/*.tar.bz2 --label dev
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name: CI

on:
push:
branches:
- master
- develop
- tf23
paths:
- 'sleap/**'
- 'tests/**'
Expand Down

0 comments on commit 20fda38

Please sign in to comment.