File tree Expand file tree Collapse file tree 1 file changed +12
-22
lines changed Expand file tree Collapse file tree 1 file changed +12
-22
lines changed Original file line number Diff line number Diff line change @@ -124,17 +124,10 @@ jobs:
124
124
- run : twine check --strict dist/*
125
125
working-directory : ./bindings/python
126
126
127
- - name : Upload wheels
128
- shell : bash
129
- run : |
130
- pip install awscli
131
- aws s3 sync --exact-timestamps ./bindings/python/dist "s3://tokenizers-releases/python/$DIST_DIR"
132
-
133
- # - uses: actions/upload-artifact@v3
134
- # working-directory: ./bindings/python/
135
- # with:
136
- # name: pypi_files
137
- # path: dist
127
+ - uses : actions/upload-artifact@v4
128
+ with :
129
+ name : pypi_files-${{ matrix.os }}-${{ matrix.platform }}-${{ matrix.manylinux }}
130
+ path : ./bindings/python/dist
138
131
build-sdist :
139
132
name : build sdist
140
133
needs : [lock_exists]
@@ -147,11 +140,10 @@ jobs:
147
140
command : sdist
148
141
args : --out dist
149
142
rust-toolchain : stable
150
- - name : Upload wheels
151
- shell : bash
152
- run : |
153
- pip install awscli
154
- aws s3 sync --exact-timestamps ./bindings/python/dist "s3://tokenizers-releases/python/$DIST_DIR"
143
+ - uses : actions/upload-artifact@v4
144
+ with :
145
+ name : pypi_files-srt
146
+ path : ./bindings/python/dist
155
147
156
148
157
149
upload_package :
@@ -168,12 +160,10 @@ jobs:
168
160
python-version : " 3.12"
169
161
architecture : x64
170
162
171
- - name : Retrieve all wheels
172
- shell : bash
173
- run : |
174
- pip install awscli
175
- aws s3 sync "s3://tokenizers-releases/python/$DIST_DIR" ./bindings/python/dist
176
-
163
+ - uses : actions/download-artifact@v4
164
+ with :
165
+ path : ./bindings/python/dist
166
+ merge-multiple : true
177
167
- name : Upload to PyPi
178
168
working-directory : ./bindings/python
179
169
run : |
You can’t perform that action at this time.
0 commit comments