From eb2871ab56b5e7d2104cea07cc729a9a18a240bb Mon Sep 17 00:00:00 2001 From: Michael Fyffe <6224270+TraGicCode@users.noreply.github.com> Date: Sun, 30 Nov 2025 15:51:46 -0600 Subject: [PATCH] Attempting to fix github release again --- .github/workflows/dotnet_selfcontained.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dotnet_selfcontained.yml b/.github/workflows/dotnet_selfcontained.yml index 3a106928..ce56f357 100644 --- a/.github/workflows/dotnet_selfcontained.yml +++ b/.github/workflows/dotnet_selfcontained.yml @@ -43,18 +43,17 @@ jobs: run: | TARGET_DIR="./artifacts/binaries/${{ matrix.os }}" ARCHIVE_DIR="./artifacts/github-release-archives" - OUTPUT_BASE="${ARCHIVE_DIR}/busly-cli-${{ github.event.release.tag_name }}-${{ matrix.os }}" + OUTPUT_ARCHIVE="../../github-release-archives/busly-cli-${{ github.event.release.tag_name }}-${{ matrix.os }}" # Ensure the output directory exists mkdir -p "$ARCHIVE_DIR" - # Change to the target directory so archive contains only files cd "$TARGET_DIR" if [[ "${{ matrix.os }}" == "win-x64" ]]; then - zip -r "$OUTPUT_BASE.zip" . + zip -r "$OUTPUT_ARCHIVE.zip" . else - tar -czf "$OUTPUT_BASE.tar.gz" . + tar -czf "$OUTPUT_ARCHIVE.tar.gz" . fi - name: Upload Release Asset