We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55e63d5 + 47fa06e commit 7f1383aCopy full SHA for 7f1383a
1 file changed
.github/workflows/dotnet_selfcontained.yml
@@ -46,12 +46,15 @@ jobs:
46
OUTPUT_BASE="${ARCHIVE_DIR}/busly-cli-${{ github.event.release.tag_name }}-${{ matrix.os }}"
47
48
# Ensure the output directory exists
49
- mkdir -p "$(dirname "$ARCHIVE_DIR")"
+ mkdir -p "$ARCHIVE_DIR"
50
+
51
+ # Change to the target directory so archive contains only files
52
+ cd "$TARGET_DIR"
53
54
if [[ "${{ matrix.os }}" == "win-x64" ]]; then
- zip -r "${OUTPUT_BASE}.zip" . -C "$TARGET_DIR"
55
+ zip -r "$OUTPUT_BASE.zip" .
56
else
- tar -czf "${OUTPUT_BASE}.tar.gz" -C "$TARGET_DIR" .
57
+ tar -czf "$OUTPUT_BASE.tar.gz" .
58
fi
59
60
- name: Upload Release Asset
0 commit comments