Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SemyonSinchenko authored Oct 12, 2024
1 parent 5fe9c55 commit 9857f41
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Update version
if: "startsWith(github.ref, 'refs/tags/')"
run:
sed -i 's/version = ".*"/version = "${{ github.ref_name }}"/' Cargo.toml
sed -i '0,/version/s/version = ".*"/version = "${{ github.ref_name }}"/' Cargo.toml
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Update version
if: "startsWith(github.ref, 'refs/tags/')"
run:
sed -i 's/version = ".*"/version = "${{ github.ref_name }}"/' Cargo.toml
sed -i '0,/version/s/version = ".*"/version = "${{ github.ref_name }}"/' Cargo.toml
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
- name: Update version
if: "startsWith(github.ref, 'refs/tags/')"
run:
sed -i 's/version = ".*"/version = "${{ github.ref_name }}"/' Cargo.toml
sed -i '0,/version/s/version = ".*"/version = "${{ github.ref_name }}"/' Cargo.toml
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
- name: Update version
if: "startsWith(github.ref, 'refs/tags/')"
run:
sed -i 's/version = ".*"/version = "${{ github.ref_name }}"/' Cargo.toml
sed -i '0,/version/s/version = ".*"/version = "${{ github.ref_name }}"/' Cargo.toml
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -161,7 +161,7 @@ jobs:
- name: Update version
if: "startsWith(github.ref, 'refs/tags/')"
run:
sed -i 's/version = ".*"/version = "${{ github.ref_name }}"/' Cargo.toml
sed -i '0,/version/s/version = ".*"/version = "${{ github.ref_name }}"/' Cargo.toml
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand Down

0 comments on commit 9857f41

Please sign in to comment.