From 323583822c103a63aabe13b77eb947d792cef999 Mon Sep 17 00:00:00 2001 From: AntoineGautier Date: Fri, 15 Sep 2023 11:51:50 +0200 Subject: [PATCH] TMP: simplify for testing only --- .github/workflows/cmake.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 48dc138..aac0b66 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -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 @@ -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 $GH_USERNAME@users.noreply.github.com @@ -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 }