]> khamidou — GitHub mirrors - safetensors.git/commitdiff
Test other releases.
authorNicolas Patry <patry.nicolas@protonmail.com>
Thu, 22 Sep 2022 21:15:17 +0000 (23:15 +0200)
committerNicolas Patry <patry.nicolas@protonmail.com>
Thu, 22 Sep 2022 21:15:17 +0000 (23:15 +0200)
.github/workflows/python-release-conda.yml
.github/workflows/python-release-extra.yml

index 52c964ac923121886c1da2765100d807d8b557ac..89178b751abf08038aee4a04bab05e6609381df0 100644 (file)
@@ -2,8 +2,8 @@ name: Python Release - Conda
 
 on:
   push:
-    tags:
-      - python-v*
+    # tags:
+    #   - python-v*
 
 env:
   ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
@@ -55,10 +55,10 @@ jobs:
           conda list
           conda-build .github/conda --python=${{ matrix.python }}
 
-      - name: Upload to Anaconda
-        shell: bash -l {0}
-        run: |
-          anaconda upload `conda-build .github/conda --output` --force
+          # - name: Upload to Anaconda
+          #   shell: bash -l {0}
+          #   run: |
+          #     anaconda upload `conda-build .github/conda --output` --force
           
   build_and_package_linux:
     runs-on: ubuntu-18.04
@@ -126,8 +126,8 @@ jobs:
           conda list
           conda-build .github/conda --python=${{ matrix.python }}
 
-      - name: Upload to Anaconda
-        shell: bash -l {0}
-        run: |
-          source $HOME/miniconda/bin/activate
-          anaconda upload `conda-build .github/conda --output` --force
+          # - name: Upload to Anaconda
+          #   shell: bash -l {0}
+          #   run: |
+          #     source $HOME/miniconda/bin/activate
+          #     anaconda upload `conda-build .github/conda --output` --force
index bca9740d09413198f40c6b2d7fa83d7e6cd74938..092edf899715a79396fb88c1a38ae77853524aad 100644 (file)
@@ -2,8 +2,8 @@ name: Python Release extra
 
 on:
   push:
-    tags:
-      - python-v*
+    # tags:
+    #   - python-v*
 
 env:
   AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -89,32 +89,32 @@ jobs:
             --rm -v `pwd`/../..:/io quay.io/pypa/manylinux2014_s390x \
             /bin/bash -c "yum install -y openssl-devel && cd /io/bindings/python; sh build-wheels.sh"
 
-  upload_package:
-    name: Upload package to PyPi
-    runs-on: ubuntu-latest
-    needs:
-      - create_wheels_manylinux_2014_ppc64le
-      - create_wheels_manylinux_2014_aarch64
-      - create_wheels_manylinux_2014_x390x
-
-    steps:
-      - uses: actions/checkout@v2
-
-      - name: Install Python
-        uses: actions/setup-python@v1
-
-      - name: Retrieve all wheels
-        shell: bash
-        run: |
-          pip install awscli
-          aws s3 sync "s3://safetensors-releases/python/$DIST_DIR" ./bindings/python/dist
-
-      - name: Install dependencies
-        run: |
-          pip install setuptools wheel setuptools-rust
-
-      - name: Upload to PyPi
-        working-directory: ./bindings/python
-        run: |
-          pip install twine
-          twine upload dist/* -u __token__ -p "$PYPI_TOKEN"
+            # upload_package:
+            #   name: Upload package to PyPi
+            #   runs-on: ubuntu-latest
+            #   needs:
+            #     - create_wheels_manylinux_2014_ppc64le
+            #     - create_wheels_manylinux_2014_aarch64
+            #     - create_wheels_manylinux_2014_x390x
+
+            #   steps:
+            #     - uses: actions/checkout@v2
+
+            #     - name: Install Python
+            #       uses: actions/setup-python@v1
+
+            #     - name: Retrieve all wheels
+            #       shell: bash
+            #       run: |
+            #         pip install awscli
+            #         aws s3 sync "s3://safetensors-releases/python/$DIST_DIR" ./bindings/python/dist
+
+            #     - name: Install dependencies
+            #       run: |
+            #         pip install setuptools wheel setuptools-rust
+
+            #     - name: Upload to PyPi
+            #       working-directory: ./bindings/python
+            #       run: |
+            #         pip install twine
+            #         twine upload dist/* -u __token__ -p "$PYPI_TOKEN"