Skip to content

Commit 740ff40

Browse files
authored
Merge pull request #100 from TraGicCode/chore/round-4-fix-github-release-archives
Attempting to fix github release again
2 parents 871c450 + eb2871a commit 740ff40

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/dotnet_selfcontained.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,17 @@ jobs:
4343
run: |
4444
TARGET_DIR="./artifacts/binaries/${{ matrix.os }}"
4545
ARCHIVE_DIR="./artifacts/github-release-archives"
46-
OUTPUT_BASE="${ARCHIVE_DIR}/busly-cli-${{ github.event.release.tag_name }}-${{ matrix.os }}"
46+
OUTPUT_ARCHIVE="../../github-release-archives/busly-cli-${{ github.event.release.tag_name }}-${{ matrix.os }}"
4747
4848
# Ensure the output directory exists
4949
mkdir -p "$ARCHIVE_DIR"
5050
51-
# Change to the target directory so archive contains only files
5251
cd "$TARGET_DIR"
5352
5453
if [[ "${{ matrix.os }}" == "win-x64" ]]; then
55-
zip -r "$OUTPUT_BASE.zip" .
54+
zip -r "$OUTPUT_ARCHIVE.zip" .
5655
else
57-
tar -czf "$OUTPUT_BASE.tar.gz" .
56+
tar -czf "$OUTPUT_ARCHIVE.tar.gz" .
5857
fi
5958
6059
- name: Upload Release Asset

0 commit comments

Comments
 (0)