From 47fa06eaece85fa3d2d68ea472cebf14913d2401 Mon Sep 17 00:00:00 2001 From: Michael Fyffe <6224270+TraGicCode@users.noreply.github.com> Date: Sun, 30 Nov 2025 15:32:58 -0600 Subject: [PATCH] Attempting to fix github release again --- .github/workflows/dotnet_selfcontained.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet_selfcontained.yml b/.github/workflows/dotnet_selfcontained.yml index 6e4633c1..3a106928 100644 --- a/.github/workflows/dotnet_selfcontained.yml +++ b/.github/workflows/dotnet_selfcontained.yml @@ -46,12 +46,15 @@ jobs: OUTPUT_BASE="${ARCHIVE_DIR}/busly-cli-${{ github.event.release.tag_name }}-${{ matrix.os }}" # Ensure the output directory exists - mkdir -p "$(dirname "$ARCHIVE_DIR")" + 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" . -C "$TARGET_DIR" + zip -r "$OUTPUT_BASE.zip" . else - tar -czf "${OUTPUT_BASE}.tar.gz" -C "$TARGET_DIR" . + tar -czf "$OUTPUT_BASE.tar.gz" . fi - name: Upload Release Asset