@@ -139,40 +139,70 @@ jobs:
139
139
if : startsWith(matrix.os, 'ubuntu')
140
140
run : ls -lah dist/* && cp dist/* svn_wheelhouse/
141
141
142
+ # TODO: upload to SVN, all files in pypi_wheelhouse
143
+ - uses : actions/upload-artifact@v4
144
+ with :
145
+ name : " release-svn-${{ matrix.os }}"
146
+ path : ./svn_wheelhouse/*
147
+
148
+ svn_generate_checksums :
149
+ name : Generate SHA512 checksums
150
+ runs-on : ubuntu-latest
151
+ needs : svn_build_artifacts
152
+ steps :
153
+ - name : Download All SVN Artifacts
154
+ uses : actions/download-artifact@v4
155
+ with :
156
+ path : svn_wheelhouse
157
+ pattern : release-svn-*
158
+ merge-multiple : true
142
159
- name : Generate SHA512 checksums
143
- shell : bash # required for windows
144
160
run : |
145
161
cd svn_wheelhouse
146
162
for name in $(ls pyiceberg-*.whl pyiceberg-*.tar.gz)
147
163
do
148
164
shasum -a 512 "${name}" > "${name}.sha512"
149
165
done
166
+ - uses : actions/upload-artifact@v4
167
+ with :
168
+ name : " release-svn-sha-checksums"
169
+ path : ./svn_wheelhouse/*
150
170
171
+ svn_generate_signatures :
172
+ name : Generate GPG Signatures
173
+ runs-on : ubuntu-latest
174
+ needs : svn_build_artifacts
175
+ steps :
176
+ - name : Download All SVN Artifacts
177
+ uses : actions/download-artifact@v4
178
+ with :
179
+ path : svn_wheelhouse
180
+ pattern : release-svn-*
181
+ merge-multiple : true
151
182
- name : Import GPG Key
152
183
id : import_gpg
153
184
uses : crazy-max/ghaction-import-gpg@111c56156bcc6918c056dbef52164cfa583dc549
154
185
with :
155
186
gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
156
187
passphrase : ${{ secrets.GPG_PASSPHRASE }}
157
-
158
188
- name : Generate GPG signatures
159
- shell : bash # required for windows
160
189
run : |
161
190
cd svn_wheelhouse
162
191
for name in $(ls pyiceberg-*.whl pyiceberg-*.tar.gz)
163
192
do
164
193
gpg --yes --armor --output "${name}.asc" --detach-sig "${name}"
165
194
done
166
-
167
- # TODO: upload to SVN, all files in pypi_wheelhouse
168
195
- uses : actions/upload-artifact@v4
169
196
with :
170
- name : " release-svn-${{ matrix.os }} "
197
+ name : " release-svn-gpg-signatures "
171
198
path : ./svn_wheelhouse/*
172
199
173
200
svn_merge_artifacts :
174
201
runs-on : ubuntu-latest
175
- needs : svn_build_artifacts
202
+ needs :
203
+ - svn_build_artifacts
204
+ - svn_generate_checksums
205
+ - svn_generate_signatures
176
206
steps :
177
207
- name : Merge Artifacts
178
208
uses : actions/upload-artifact/merge@v4
0 commit comments