-
-
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
8ab8d19
commit 0d23d8e
Showing
1 changed file
with
6 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -40,22 +40,26 @@ jobs: | |
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:')" | ||
name: Bump version and tag on main | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ssh-key: "${{ secrets.COMMIT_KEY }}" | ||
token: "${{ secrets.GITHUB_TOKEN }}" | ||
- name: Create bump and changelog | ||
uses: commitizen-tools/commitizen-action@master | ||
with: | ||
push: false | ||
- name: Print Version | ||
run: echo "Bumped to version ${{ steps.cz.outputs.version }}" | ||
- name: Push using ssh | ||
#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 | ||
build_wheels: | ||
|
@@ -65,6 +69,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [macos-14] | ||
#os: [ubuntu-latest, windows-latest, macos-13, macos-14] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
|