From 2a7b32a524f209622933dbf8d9f15615138cfec8 Mon Sep 17 00:00:00 2001 From: GDGunnars Date: Mon, 29 Apr 2024 16:39:14 +0200 Subject: [PATCH] fix additional filending on compressed artifacts --- .github/workflows/on-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on-release.yaml b/.github/workflows/on-release.yaml index 8568331..531e523 100644 --- a/.github/workflows/on-release.yaml +++ b/.github/workflows/on-release.yaml @@ -47,7 +47,6 @@ jobs: - name: Build archive shell: bash run: | - # Replace with the name of your binary binary_name="rcon" dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}" @@ -55,6 +54,7 @@ jobs: if [ "${{ matrix.os }}" = "windows-latest" ]; then mv "target/${{ matrix.target }}/release/$binary_name.exe" "$dirname" else + ls -alh "target/${{ matrix.target }}/release/" mv "target/${{ matrix.target }}/release/$binary_name" "$dirname" fi @@ -69,4 +69,4 @@ jobs: - name: Upload Release Asset env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release upload ${{ env.VERSION }} ${{env.ASSET}}.zip + run: gh release upload ${{ env.VERSION }} ${{env.ASSET}}