Skip to content

Commit

Permalink
TMP: simplify for testing only
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineGautier committed Sep 15, 2023
1 parent befbd6f commit 3235838
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9']
python-version: ['3.9']

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,9 +74,7 @@ jobs:
- name: Stage binaries
if: |
contains(matrix.os, 'latest') &&
contains(matrix.python-version, '3.9') &&
github.event_name == 'push' &&
github.ref == 'refs/heads/master'
contains(matrix.python-version, '3.9')
run: |
git config --global user.name $GH_USERNAME
git config --global user.email [email protected]
Expand All @@ -86,17 +84,13 @@ jobs:
- name: Push Linux & macOS binaries
if: |
(matrix.os == 'ubuntu-latest || matrix.os == 'macos-latest') &&
contains(matrix.python-version, '3.9') &&
github.event_name == 'push' &&
github.ref == 'refs/heads/master'
contains(matrix.python-version, '3.9')
run: git diff-index --quiet HEAD || { git commit -m "Add ${{ matrix.os }} binaries" && git pull && git push; }

- name: Push Windows binaries
if: |
matrix.os == 'windows-latest' &&
contains(matrix.python-version, '3.9') &&
github.event_name == 'push' &&
github.ref == 'refs/heads/master'
contains(matrix.python-version, '3.9')
run: |
git diff-index --quiet HEAD
if(-Not $?) { git commit -m "Add ${{ matrix.os }} binaries"; git pull; git push }

0 comments on commit 3235838

Please sign in to comment.