Przeglądaj źródła

fix(CI): maturin do not publish sdist

zu1k 2 lat temu
rodzic
commit
33c8230403
3 zmienionych plików z 5 dodań i 20 usunięć
  1. 3 18
      .github/workflows/maturin.yml
  2. 1 1
      Cargo.lock
  3. 1 1
      crates/core/Cargo.toml

+ 3 - 18
.github/workflows/maturin.yml

@@ -3,7 +3,7 @@
 #
 #    maturin generate-ci github
 #
-name: CI
+name: Maturin CI
 
 on:
   push:
@@ -22,7 +22,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
+        target: [x86_64, x86, aarch64, armv7]
     steps:
       - uses: actions/checkout@v3
       - name: Build wheels
@@ -76,26 +76,11 @@ jobs:
           name: wheels
           path: dist
 
-  sdist:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v3
-      - name: Build sdist
-        uses: PyO3/maturin-action@v1
-        with:
-          command: sdist
-          args: --out dist
-      - name: Upload sdist
-        uses: actions/upload-artifact@v3
-        with:
-          name: wheels
-          path: dist
-
   release:
     name: Release
     runs-on: ubuntu-latest
     if: "startsWith(github.ref, 'refs/tags/')"
-    needs: [linux, windows, macos, sdist]
+    needs: [linux, windows, macos]
     steps:
       - uses: actions/download-artifact@v3
         with:

+ 1 - 1
Cargo.lock

@@ -762,7 +762,7 @@ dependencies = [
 
 [[package]]
 name = "good-mitm-core"
-version = "0.3.0"
+version = "0.4.1"
 dependencies = [
  "async-trait",
  "bytes",

+ 1 - 1
crates/core/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "good-mitm-core"
-version = "0.3.0"
+version = "0.4.1"
 edition = "2021"
 description = "Use MITM technology to provide features like rewrite, redirect."
 homepage = "https://github.com/zu1k/good-mitm"