From 9a44b0b8c6136a85f7d02313be6c9573898b0847 Mon Sep 17 00:00:00 2001 From: Kartoffel096 Date: Wed, 9 Oct 2024 11:57:23 +0200 Subject: [PATCH] fix: changed pathing --- .github/workflows/release_tag.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_tag.yml b/.github/workflows/release_tag.yml index 0e3a110..8b3c660 100644 --- a/.github/workflows/release_tag.yml +++ b/.github/workflows/release_tag.yml @@ -33,15 +33,15 @@ jobs: - name: Build Go Application run: | - mkdir -p ${{ github.workspace }}/packagelock + mkdir -p ${{ github.workspace }}/bin APP_VERSION=${{ env.APP_VERSION }} - CGO_ENABLED=0 GOOS=linux go build -ldflags "-X 'main.AppVersion=$APP_VERSION'" -o ${{ github.workspace }}/packagelock + CGO_ENABLED=0 GOOS=linux go build -ldflags "-X 'main.AppVersion=$APP_VERSION'" -o ${{ github.workspace }}/bin - name: Create Release Archive run: | mkdir -p release - cp -r ${{ github.workspace }}/packagelock ./release/packagelock - tar -czvf release/packagelock-${{ env.APP_VERSION }}-linux-amd64.tar.gz -C release packagelock + cp -r ${{ github.workspace }}/bin ${{ github.workspace }}/release + tar -czvf ${{ github.workspace }}/release/packagelock-${{ env.APP_VERSION }}-linux-amd64.tar.gz -C release packagelock - name: Get release URL id: get_release