Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aamalev committed Nov 12, 2024
1 parent 3392c26 commit dfdfbff
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install hatch
run: pip3 install --upgrade hatch
- name: Set version from tag
run: hatch version $GITHUB_REF_NAME
run: sed -i -e 's/^version = .*/version = "${GITHUB_REF_NAME}"/' Cargo.toml
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -76,10 +74,8 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install hatch
run: pip3 install --upgrade hatch
- name: Set version from tag
run: hatch version $GITHUB_REF_NAME
run: sed -i -e 's/^version = .*/version = "${GITHUB_REF_NAME}"/' Cargo.toml
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -108,10 +104,8 @@ jobs:
with:
python-version: 3.x
architecture: ${{ matrix.platform.target }}
- name: Install hatch
run: pip3 install --upgrade hatch
- name: Set version from tag
run: hatch version $GITHUB_REF_NAME
run: sed -i -e 's/^version = .*/version = "${GITHUB_REF_NAME}"/' Cargo.toml
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -138,10 +132,8 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install hatch
run: pip3 install --upgrade hatch
- name: Set version from tag
run: hatch version $GITHUB_REF_NAME
run: sed -i -e 's/^version = .*/version = "${GITHUB_REF_NAME}"/' Cargo.toml
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -158,10 +150,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install hatch
run: pip3 install --upgrade hatch
- name: Set version from tag
run: hatch version $GITHUB_REF_NAME
run: sed -i -e 's/^version = .*/version = "${GITHUB_REF_NAME}"/' Cargo.toml
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand Down

0 comments on commit dfdfbff

Please sign in to comment.