From 5cd163d9efd5f574dacda2543a2a49047872b100 Mon Sep 17 00:00:00 2001 From: linuxfight Date: Thu, 16 May 2024 20:32:01 +0300 Subject: [PATCH] update release action --- .github/workflows/release.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7c3f233..d1dbefc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,6 +11,11 @@ jobs: permissions: contents: write packages: write + strategy: + matrix: + platform: + - linux/amd64 + - linux/arm64 steps: - name: Checkout Repository @@ -38,7 +43,7 @@ jobs: with: files: | release.tar.gz - tag_name: ${{ steps.shorten_sha.outputs.short_sha }} - release_name: Release ${{ steps.shorten_sha.outputs.short_sha }} + tag_name: ${{ steps.shorten_sha.outputs.short_sha }}-${{ matrix.platform }} + release_name: Release ${{ steps.shorten_sha.outputs.short_sha }}-${{ matrix.platform }} body: | - Release for commit ${{ steps.shorten_sha.outputs.short_sha }} \ No newline at end of file + Release for commit ${{ steps.shorten_sha.outputs.short_sha }}-${{ matrix.platform }} \ No newline at end of file