diff --git a/.github/workflows/package-apisix-runtime-deb-openresty-1.21.yml b/.github/workflows/package-apisix-runtime-deb-openresty-1.21.yml index b3dcb2549..2134e3daf 100644 --- a/.github/workflows/package-apisix-runtime-deb-openresty-1.21.yml +++ b/.github/workflows/package-apisix-runtime-deb-openresty-1.21.yml @@ -43,32 +43,6 @@ jobs: make package type=deb app=apisix-runtime runtime_version=${BUILD_APISIX_RUNTIME_VERSION} image_base=debian image_tag=bullseye-slim arch=linux/amd64 fi - - name: Publish Artifact - uses: actions/upload-artifact@v4.0.0 - with: - name: apisix-runtime_${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0~debianbullseye-slim_${{ matrix.platform.arch }}.deb - path: output/apisix-runtime_${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0~debianbullseye-slim_${{ matrix.platform.arch }}.deb - retention-days: 5 - if-no-files-found: error - - release: - needs: build - runs-on: ubuntu-latest - env: - BUILD_APISIX_RUNTIME_VERSION: 1.1.3 - steps: - - name: Download ARM64 artifact - uses: actions/download-artifact@v3 - with: - name: apisix-runtime_${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0~debianbullseye-slim_arm64.deb - path: ./artifacts - - - name: Download AMD64 artifact - uses: actions/download-artifact@v3 - with: - name: apisix-runtime_${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0~debianbullseye-slim_amd64.deb - path: ./artifacts - - name: Release with Notes uses: softprops/action-gh-release@v1 with: @@ -76,7 +50,7 @@ jobs: body: | Release apisix-runtime ${{ github.event.inputs.tag_name }} files: | - ./artifacts/apisix-runtime_${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0~debianbullseye-slim_arm64.deb - ./artifacts/apisix-runtime_${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0~debianbullseye-slim_amd64.deb + ./output/apisix-runtime_${{ env.BUILD_APISIX_RUNTIME_VERSION }}-0~debianbullseye-slim_${{ matrix.platform.arch }}.deb env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +