Skip to content

Commit 92aec60

Browse files
author
djklim87
committed
1 parent 357677d commit 92aec60

1 file changed

Lines changed: 45 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ jobs:
215215
rpm_path="./${{ env.APP_NAME }}-${version}-1.x86_64.rpm"
216216
cp $rpm_path "./${{ env.APP_NAME }}-${version}-1.el7.x86_64.rpm"
217217
cp $rpm_path "./${{ env.APP_NAME }}-${version}-1.el8.x86_64.rpm"
218-
mv $rpm_path "./${{ env.APP_NAME }}-${version}-1.el9.x86_64.rpm"
218+
cp $rpm_path "./${{ env.APP_NAME }}-${version}-1.el9.x86_64.rpm"
219+
mv $rpm_path "./${{ env.APP_NAME }}-${version}-1.el10.x86_64.rpm"
219220
mkdir -p ./artifacts
220221
mv *.deb ./artifacts/
221222
mv *.rpm ./artifacts/
@@ -241,6 +242,12 @@ jobs:
241242
with:
242243
name: artifact-rpm-el9-amd64
243244
path: ./artifacts/*.el9.*.rpm
245+
246+
- uses: manticoresoftware/upload_artifact_with_retries@main
247+
with:
248+
name: artifact-rpm-el10-amd64
249+
path: ./artifacts/*.el10.*.rpm
250+
244251
build-linux-packages-arm64:
245252
needs:
246253
- vars
@@ -343,6 +350,7 @@ jobs:
343350
rpm_path="./artifacts/${{ env.APP_NAME }}-${version}-1.el7.aarch64.rpm"
344351
cp $rpm_path "./artifacts/${{ env.APP_NAME }}-${version}-1.el8.aarch64.rpm"
345352
cp $rpm_path "./artifacts/${{ env.APP_NAME }}-${version}-1.el9.aarch64.rpm"
353+
cp $rpm_path "./artifacts/${{ env.APP_NAME }}-${version}-1.el10.aarch64.rpm"
346354
347355
- uses: manticoresoftware/upload_artifact_with_retries@main
348356
with:
@@ -359,6 +367,11 @@ jobs:
359367
name: artifact-rpm-el9-aarch64
360368
path: ./artifacts/*.el9.*.rpm
361369

370+
- uses: manticoresoftware/upload_artifact_with_retries@main
371+
with:
372+
name: artifact-rpm-el10-aarch64
373+
path: ./artifacts/*.el10.*.rpm
374+
362375
build-extra-packages:
363376
runs-on: ubuntu-22.04
364377
needs:
@@ -430,7 +443,8 @@ jobs:
430443
rpm_path="./${{ env.EXTRA_NAME }}-${version}-1.noarch.rpm"
431444
cp $rpm_path "./${{ env.EXTRA_NAME }}-${version}-1.el7.noarch.rpm"
432445
cp $rpm_path "./${{ env.EXTRA_NAME }}-${version}-1.el8.noarch.rpm"
433-
mv $rpm_path "./${{ env.EXTRA_NAME }}-${version}-1.el9.noarch.rpm"
446+
cp $rpm_path "./${{ env.EXTRA_NAME }}-${version}-1.el9.noarch.rpm"
447+
mv $rpm_path "./${{ env.EXTRA_NAME }}-${version}-1.el10.noarch.rpm"
434448
435449
mkdir -p ./artifacts
436450
mv *.deb ./artifacts/
@@ -458,6 +472,11 @@ jobs:
458472
name: artifact-extra-rpm-el9
459473
path: ./artifacts/*.el9.noarch.rpm
460474

475+
- uses: manticoresoftware/upload_artifact_with_retries@main
476+
with:
477+
name: artifact-extra-rpm-el10
478+
path: ./artifacts/*.el10.noarch.rpm
479+
461480
create-release:
462481
runs-on: ubuntu-22.04
463482
permissions:
@@ -569,6 +588,9 @@ jobs:
569588
- pkg: rpm
570589
suffix: "el9-amd64"
571590
asset_content_type: application/x-rpm
591+
- pkg: rpm
592+
suffix: "el10-amd64"
593+
asset_content_type: application/x-rpm
572594
- pkg: rpm
573595
suffix: "el7-aarch64"
574596
asset_content_type: application/x-rpm
@@ -578,6 +600,9 @@ jobs:
578600
- pkg: rpm
579601
suffix: "el9-aarch64"
580602
asset_content_type: application/x-rpm
603+
- pkg: rpm
604+
suffix: "el10-aarch64"
605+
asset_content_type: application/x-rpm
581606
steps:
582607
- uses: manticoresoftware/download_artifact_with_retries@main
583608
with:
@@ -625,6 +650,9 @@ jobs:
625650
- pkg: rpm
626651
suffix: "-el9"
627652
asset_content_type: application/x-rpm
653+
- pkg: rpm
654+
suffix: "-el10"
655+
asset_content_type: application/x-rpm
628656
steps:
629657
# We download amd64 only but just because of noarch
630658
- uses: manticoresoftware/download_artifact_with_retries@main
@@ -763,6 +791,16 @@ jobs:
763791
arch: aarch
764792
delimiter: "_"
765793
distro: 9
794+
- artifact: artifact-rpm-el10-amd64
795+
type: rpm
796+
arch: x86_64
797+
delimiter: "_"
798+
distro: 10
799+
- artifact: artifact-rpm-el10-aarch64
800+
type: rpm
801+
arch: aarch
802+
delimiter: "_"
803+
distro: 10
766804
- artifact: artifact-macos-13-x86_64
767805
type: arc
768806
arch: x86_64
@@ -819,6 +857,11 @@ jobs:
819857
arch: noarch
820858
delimiter: "_"
821859
distro: 9
860+
- artifact: artifact-extra-rpm-el10
861+
type: rpm
862+
arch: noarch
863+
delimiter: "_"
864+
distro: 10
822865
steps:
823866
- name: Deploy package
824867
uses: manticoresoftware/publish_to_repo@main

0 commit comments

Comments
 (0)