Skip to content

Commit

Permalink
chore(testing): Removing release process and adding all branches for …
Browse files Browse the repository at this point in the history
…testing purpose
  • Loading branch information
smerle33 committed Jun 11, 2024
1 parent ca85e65 commit 181329b
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/maturin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
tags:
- "v*.*.*"
- "!varcon*"
# pull_request: # Only enabled for testing
pull_request: # Only enabled for testing

permissions:
contents: read
Expand All @@ -31,7 +31,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --manifest-path crates/typos-cli/Cargo.toml --release --out dist
args: --manifest-path crates/typos-cli/Cargo.toml --out dist
sccache: 'true'
manylinux: auto
- name: Upload wheels
Expand All @@ -55,7 +55,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --manifest-path crates/typos-cli/Cargo.toml --release --out dist
args: --manifest-path crates/typos-cli/Cargo.toml --out dist
sccache: 'true'
manylinux: musllinux_1_2
- name: Upload wheels
Expand All @@ -79,7 +79,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --manifest-path crates/typos-cli/Cargo.toml --release --out dist
args: --manifest-path crates/typos-cli/Cargo.toml --out dist
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -102,7 +102,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --manifest-path crates/typos-cli/Cargo.toml --release --out dist
args: --manifest-path crates/typos-cli/Cargo.toml --out dist
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -125,19 +125,19 @@ jobs:
name: wheels-sdist
path: dist

release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [linux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --skip-existing *
# release:
# name: Release
# runs-on: ubuntu-latest
# if: "startsWith(github.ref, 'refs/tags/')"
# needs: [linux, windows, macos, sdist]
# steps:
# - uses: actions/download-artifact@v4
# with:
# merge-multiple: true
# - name: Publish to PyPI
# uses: PyO3/maturin-action@v1
# env:
# MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
# with:
# command: upload
# args: --skip-existing *

0 comments on commit 181329b

Please sign in to comment.