Skip to content

Commit 9648aeb

Browse files
committed
fix release workflow
1 parent deb3d97 commit 9648aeb

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/release.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Build Bundle
2828
run: ./gradlew :debian-platforms:buildArm32v7DebianBundle -Pversion=$RELEASE_VERSION -PpgVersion=$POSTGRES_VERSION
2929
- name: Upload bundle
30-
uses: actions/upload-artifact@v2
30+
uses: actions/upload-artifact@v4
3131
with:
3232
name: arm32v7DebianBundle
3333
path: debian-platforms/build/tmp/buildArm32v7DebianBundle/bundle/postgres-linux-debian.txz
@@ -55,7 +55,7 @@ jobs:
5555
- name: Build Bundle
5656
run: ./gradlew :debian-platforms:buildArm64v8DebianBundle -Pversion=$RELEASE_VERSION -PpgVersion=$POSTGRES_VERSION
5757
- name: Upload bundle
58-
uses: actions/upload-artifact@v2
58+
uses: actions/upload-artifact@v4
5959
with:
6060
name: arm64v8DebianBundle
6161
path: debian-platforms/build/tmp/buildArm64v8DebianBundle/bundle/postgres-linux-debian.txz
@@ -83,7 +83,7 @@ jobs:
8383
- name: Build Bundle
8484
run: ./gradlew :debian-platforms:buildPpc64leDebianBundle -Pversion=$RELEASE_VERSION -PpgVersion=$POSTGRES_VERSION
8585
- name: Upload bundle
86-
uses: actions/upload-artifact@v2
86+
uses: actions/upload-artifact@v4
8787
with:
8888
name: ppc64leDebianBundle
8989
path: debian-platforms/build/tmp/buildPpc64leDebianBundle/bundle/postgres-linux-debian.txz
@@ -111,7 +111,7 @@ jobs:
111111
- name: Build Bundle
112112
run: ./gradlew :alpine-platforms:buildArm32v6AlpineBundle -Pversion=$RELEASE_VERSION -PpgVersion=$POSTGRES_VERSION
113113
- name: Upload bundle
114-
uses: actions/upload-artifact@v2
114+
uses: actions/upload-artifact@v4
115115
with:
116116
name: arm32v6AlpineBundle
117117
path: alpine-platforms/build/tmp/buildArm32v6AlpineBundle/bundle/postgres-linux-alpine_linux.txz
@@ -139,7 +139,7 @@ jobs:
139139
- name: Build Bundle
140140
run: ./gradlew :alpine-platforms:buildArm64v8AlpineBundle -Pversion=$RELEASE_VERSION -PpgVersion=$POSTGRES_VERSION
141141
- name: Upload bundle
142-
uses: actions/upload-artifact@v2
142+
uses: actions/upload-artifact@v4
143143
with:
144144
name: arm64v8AlpineBundle
145145
path: alpine-platforms/build/tmp/buildArm64v8AlpineBundle/bundle/postgres-linux-alpine_linux.txz
@@ -167,7 +167,7 @@ jobs:
167167
- name: Build Bundle
168168
run: ./gradlew :alpine-platforms:buildPpc64leAlpineBundle -Pversion=$RELEASE_VERSION -PpgVersion=$POSTGRES_VERSION
169169
- name: Upload bundle
170-
uses: actions/upload-artifact@v2
170+
uses: actions/upload-artifact@v4
171171
with:
172172
name: ppc64leAlpineBundle
173173
path: alpine-platforms/build/tmp/buildPpc64leAlpineBundle/bundle/postgres-linux-alpine_linux.txz
@@ -196,7 +196,7 @@ jobs:
196196
- name: Build Bundle
197197
run: ./gradlew :alpine-lite-platforms:buildArm32v6AlpineLiteBundle -Pversion=$RELEASE_VERSION -PpgVersion=$POSTGRES_VERSION
198198
- name: Upload bundle
199-
uses: actions/upload-artifact@v2
199+
uses: actions/upload-artifact@v4
200200
with:
201201
name: arm32v6AlpineLiteBundle
202202
path: alpine-lite-platforms/build/tmp/buildArm32v6AlpineLiteBundle/bundle/postgres-linux-alpine_linux.txz
@@ -225,7 +225,7 @@ jobs:
225225
- name: Build Bundle
226226
run: ./gradlew :alpine-lite-platforms:buildArm64v8AlpineLiteBundle -Pversion=$RELEASE_VERSION -PpgVersion=$POSTGRES_VERSION
227227
- name: Upload bundle
228-
uses: actions/upload-artifact@v2
228+
uses: actions/upload-artifact@v4
229229
with:
230230
name: arm64v8AlpineLiteBundle
231231
path: alpine-lite-platforms/build/tmp/buildArm64v8AlpineLiteBundle/bundle/postgres-linux-alpine_linux.txz
@@ -254,7 +254,7 @@ jobs:
254254
- name: Build Bundle
255255
run: ./gradlew :alpine-lite-platforms:buildPpc64leAlpineLiteBundle -Pversion=$RELEASE_VERSION -PpgVersion=$POSTGRES_VERSION
256256
- name: Upload bundle
257-
uses: actions/upload-artifact@v2
257+
uses: actions/upload-artifact@v4
258258
with:
259259
name: ppc64leAlpineLiteBundle
260260
path: alpine-lite-platforms/build/tmp/buildPpc64leAlpineLiteBundle/bundle/postgres-linux-alpine_linux.txz
@@ -284,50 +284,50 @@ jobs:
284284
echo "RELEASE_VERSION=$MILESTONE_VERSION" >> $GITHUB_ENV
285285
echo "POSTGRES_VERSION=${MILESTONE_VERSION%.*}" >> $GITHUB_ENV
286286
- name: Download bundle - arm32v7Debian
287-
uses: actions/download-artifact@v2
287+
uses: actions/download-artifact@v4
288288
with:
289289
name: arm32v7DebianBundle
290290
path: debian-platforms/build/tmp/buildArm32v7DebianBundle/bundle
291291
- name: Download bundle - arm64v8Debian
292-
uses: actions/download-artifact@v2
292+
uses: actions/download-artifact@v4
293293
with:
294294
name: arm64v8DebianBundle
295295
path: debian-platforms/build/tmp/buildArm64v8DebianBundle/bundle
296296
- name: Download bundle - ppc64leDebian
297-
uses: actions/download-artifact@v2
297+
uses: actions/download-artifact@v4
298298
with:
299299
name: ppc64leDebianBundle
300300
path: debian-platforms/build/tmp/buildPpc64leDebianBundle/bundle
301301
- name: Download bundle - arm32v6Alpine
302-
uses: actions/download-artifact@v2
302+
uses: actions/download-artifact@v4
303303
with:
304304
name: arm32v6AlpineBundle
305305
path: alpine-platforms/build/tmp/buildArm32v6AlpineBundle/bundle
306306
- name: Download bundle - arm64v8Alpine
307-
uses: actions/download-artifact@v2
307+
uses: actions/download-artifact@v4
308308
with:
309309
name: arm64v8AlpineBundle
310310
path: alpine-platforms/build/tmp/buildArm64v8AlpineBundle/bundle
311311
- name: Download bundle - ppc64leAlpine
312-
uses: actions/download-artifact@v2
312+
uses: actions/download-artifact@v4
313313
with:
314314
name: ppc64leAlpineBundle
315315
path: alpine-platforms/build/tmp/buildPpc64leAlpineBundle/bundle
316316
- name: Download bundle - arm32v6AlpineLite
317317
if: ${{ startsWith(github.event.milestone.title, '10.') || startsWith(github.event.milestone.title, '11.') || startsWith(github.event.milestone.title, '12.') || startsWith(github.event.milestone.title, '13.') || startsWith(github.event.milestone.title, '14.') || startsWith(github.event.milestone.title, '15.') }}
318-
uses: actions/download-artifact@v2
318+
uses: actions/download-artifact@v4
319319
with:
320320
name: arm32v6AlpineLiteBundle
321321
path: alpine-lite-platforms/build/tmp/buildArm32v6AlpineLiteBundle/bundle
322322
- name: Download bundle - arm64v8AlpineLite
323323
if: ${{ startsWith(github.event.milestone.title, '10.') || startsWith(github.event.milestone.title, '11.') || startsWith(github.event.milestone.title, '12.') || startsWith(github.event.milestone.title, '13.') || startsWith(github.event.milestone.title, '14.') || startsWith(github.event.milestone.title, '15.') }}
324-
uses: actions/download-artifact@v2
324+
uses: actions/download-artifact@v4
325325
with:
326326
name: arm64v8AlpineLiteBundle
327327
path: alpine-lite-platforms/build/tmp/buildArm64v8AlpineLiteBundle/bundle
328328
- name: Download bundle - ppc64leAlpineLite
329329
if: ${{ startsWith(github.event.milestone.title, '10.') || startsWith(github.event.milestone.title, '11.') || startsWith(github.event.milestone.title, '12.') || startsWith(github.event.milestone.title, '13.') || startsWith(github.event.milestone.title, '14.') || startsWith(github.event.milestone.title, '15.') }}
330-
uses: actions/download-artifact@v2
330+
uses: actions/download-artifact@v4
331331
with:
332332
name: ppc64leAlpineLiteBundle
333333
path: alpine-lite-platforms/build/tmp/buildPpc64leAlpineLiteBundle/bundle

0 commit comments

Comments
 (0)