Skip to content

Commit

Permalink
Update package-apisix-runtime-deb-openresty-1.21.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup authored Aug 20, 2024
1 parent 0dc771f commit ee4e44d
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/package-apisix-runtime-deb-openresty-1.21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,40 +43,14 @@ 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/[email protected]
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:
tag_name: ${{ github.event.inputs.tag_name }}
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 }}

0 comments on commit ee4e44d

Please sign in to comment.