-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2498d8
commit 754a717
Showing
2 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ on: | |
|
||
jobs: | ||
build: | ||
if: github.event_name == 'pull_request' && github.ref == 'refs/heads/main' | ||
if: "github.event_name == 'pull_request'" | ||
name: Build and Test on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
|
@@ -39,8 +39,7 @@ jobs: | |
pytest | ||
bump_version_and_tag: | ||
if: "!startsWith(github.event.head_commit.message, 'bump:')" | ||
#if: "github.event_name == 'push' && github.ref == 'refs/heads/main' && !startsWith(github.event.head_commit.message, 'bump:')" | ||
if: "github.event_name == 'push' && github.ref == 'refs/heads/main' && !startsWith(github.event.head_commit.message, 'bump:')" | ||
name: Bump version and tag on main | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -56,20 +55,20 @@ jobs: | |
- name: Print Version | ||
run: echo "Bumped to version ${{ steps.cz.outputs.version }}" | ||
- name: Push using ssh | ||
#if: github.event_name == 'push' | ||
if: github.event_name == 'push' | ||
run: | | ||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" | ||
git config --global user.email "[email protected]" | ||
git push --tags | ||
git push | ||
build_wheels: | ||
if: "startsWith(github.event.head_commit.message, 'bump:')" | ||
name: Build wheels on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-14] | ||
#os: [ubuntu-latest, windows-latest, macos-13, macos-14] | ||
os: [ubuntu-latest, windows-latest, macos-13, macos-14] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters