Skip to content

Commit 5350698

Browse files
authored
chore: upload artifact with apisix (#362)
1 parent 34928c0 commit 5350698

13 files changed

+42
-18
lines changed

.github/workflows/package-apisix-dashboard-deb-ubuntu20.04.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
fi
6262
6363
- name: Publish Artifact
64-
uses: actions/upload-artifact@v2.2.4
64+
uses: actions/upload-artifact@v4.0.0
6565
with:
6666
name: apisix-dashboard_${{ env.DASHBOARD_VERSION }}-0~ubuntu20.04_amd64.deb
6767
path: output/apisix-dashboard_${{ env.DASHBOARD_VERSION }}-0~ubuntu20.04_amd64.deb

.github/workflows/package-apisix-dashboard-rpm-el7.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
mv output/apisix-dashboard-local-${DASHBOARD_VERSION}-0.el7.x86_64.rpm output/apisix-dashboard-${DASHBOARD_VERSION}-0.el7.x86_64.rpm
9494
9595
- name: Publish Artifact
96-
uses: actions/upload-artifact@v2
96+
uses: actions/upload-artifact@v4.0.0
9797
with:
9898
name: apisix-dashboard-${{ env.DASHBOARD_VERSION }}-0.el7.x86_64.rpm
9999
path: output/apisix-dashboard-${{ env.DASHBOARD_VERSION }}-0.el7.x86_64.rpm
@@ -120,7 +120,7 @@ jobs:
120120
sudo apt -y install podman
121121
122122
- name: Download artifact
123-
uses: actions/download-artifact@v2
123+
uses: actions/download-artifact@v4.0.0
124124
with:
125125
name: apisix-dashboard-${{ env.DASHBOARD_VERSION }}-0.el7.x86_64.rpm
126126

.github/workflows/package-apisix-dashboard-rpm-el8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
fi
7070
7171
- name: Publish Artifact
72-
uses: actions/upload-artifact@v2.2.4
72+
uses: actions/upload-artifact@v4.0.0
7373
with:
7474
name: apisix-dashboard-${{ env.DASHBOARD_VERSION }}-0.el8.x86_64.rpm
7575
path: output/apisix-dashboard-${{ env.DASHBOARD_VERSION }}-0.el8.x86_64.rpm

.github/workflows/package-apisix-deb-ubuntu20.04.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
fi
6060
6161
- name: Publish Artifact
62-
uses: actions/upload-artifact@v2.2.4
62+
uses: actions/upload-artifact@v4.0.0
6363
with:
6464
name: apisix_${{ env.PACKAGE_APISIX_VERSION }}-0~ubuntu20.04_amd64.deb
6565
path: output/apisix_${{ env.PACKAGE_APISIX_VERSION }}-0~ubuntu20.04_amd64.deb

.github/workflows/package-apisix-rpm-el7.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,11 @@ jobs:
8989
echo "failed: failed to install Apache APISIX by rpm"
9090
exit 1
9191
fi
92+
93+
- name: Publish Artifact
94+
uses: actions/upload-artifact@v4.0.0
95+
with:
96+
name: apisix-master-0.el7.x86_64.rpm
97+
path: output/apisix-remote-master-0.el7.x86_64.rpm
98+
retention-days: 5
99+
if-no-files-found: error

.github/workflows/package-apisix-rpm-el8.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,11 @@ jobs:
9494
echo "failed: failed to install Apache APISIX by rpm"
9595
exit 1
9696
fi
97+
98+
- name: Publish Artifact
99+
uses: actions/upload-artifact@v4.0.0
100+
with:
101+
name: apisix-master-0.el8.x86_64.rpm
102+
path: output/apisix-remote-master-0.el8.x86_64.rpm
103+
retention-days: 5
104+
if-no-files-found: error

.github/workflows/package-apisix-rpm-ubi.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,11 @@ jobs:
8787
echo "failed: failed to install Apache APISIX by rpm"
8888
exit 1
8989
fi
90+
91+
- name: Publish Artifact
92+
uses: actions/upload-artifact@v4.0.0
93+
with:
94+
name: apisix-remote-master-0.ubi8.6.x86_64.rpm
95+
path: output/apisix-remote-master-0.ubi8.6.x86_64.rpm
96+
retention-days: 5
97+
if-no-files-found: error

.github/workflows/package-apisix-runtime-deb-ubuntu20.04.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
if [ "$APISIX_RUNTIME_VER" != "${BUILD_APISIX_RUNTIME_VERSION}" ]; then exit 1; fi
4747
4848
- name: Publish Artifact
49-
uses: actions/upload-artifact@v2.2.4
49+
uses: actions/upload-artifact@v4.0.0
5050
with:
5151
name: apisix-runtime_${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0~ubuntu20.04_amd64.deb
5252
path: output/apisix-runtime_${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0~ubuntu20.04_amd64.deb

.github/workflows/package-apisix-runtime-rpm-el7.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
if [ "$APISIX_RUNTIME_VER" != "${BUILD_APISIX_RUNTIME_VERSION}" ]; then exit 1; fi
4747
4848
- name: Publish Artifact
49-
uses: actions/upload-artifact@v2.2.4
49+
uses: actions/upload-artifact@v4.0.0
5050
with:
5151
name: apisix-runtime-${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0.el7.x86_64.rpm
5252
path: output/apisix-runtime-${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0.el7.x86_64.rpm

.github/workflows/package-apisix-runtime-rpm-el8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
if [ "$APISIX_RUNTIME_VER" != "${BUILD_APISIX_RUNTIME_VERSION}" ]; then exit 1; fi
5656
5757
- name: Publish Artifact
58-
uses: actions/upload-artifact@v2.2.4
58+
uses: actions/upload-artifact@v4.0.0
5959
with:
6060
name: apisix-runtime-${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0.el8.x86_64.rpm
6161
path: output/apisix-runtime-${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0.el8.x86_64.rpm

0 commit comments

Comments
 (0)