From a5506c4abc3dabcdf8c9502c4d6b22cf6e7600ff Mon Sep 17 00:00:00 2001 From: Rado Chmiel Date: Thu, 20 Jun 2024 17:02:02 +0200 Subject: [PATCH] Adding tgz creation step --- .github/workflows/porchctl-dev-release.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/porchctl-dev-release.yaml b/.github/workflows/porchctl-dev-release.yaml index d16d6878..1049681b 100644 --- a/.github/workflows/porchctl-dev-release.yaml +++ b/.github/workflows/porchctl-dev-release.yaml @@ -33,12 +33,14 @@ jobs: fetch-depth: 0 - name: Build run: make porchctl + - name: Pack binary + run: tar cvzf porchctl.tgz -C .build/ porchctl - name: Upload binaries to release uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: .build/porchctl - asset_name: porchctl + file: porchctl.tgz + asset_name: porchctl.tgz tag: ${{ github.ref }} overwrite: true prerelease: true