Skip to content

Commit c28ed4e

Browse files
committed
Fix build-zig for GitHub release
1 parent e479a38 commit c28ed4e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release_github.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,12 @@ jobs:
132132
- name: Create release archive
133133
id: archive
134134
run: |
135-
BUILD_TARGET="${{ matrix.target }}${{ matrix.zigtargetsuffix }}"
136-
BIN_PATH="target/${BUILD_TARGET}/release/${NAME}"
135+
BIN_PATH="target/${{ matrix.target }}/release/${NAME}"
137136
BIN_NAME="${NAME}"
138137
139138
# Archive name uses base target without libc version
140139
ARCHIVE_NAME="${NAME}-${{ matrix.target }}.tar.gz"
141-
tar czf "${ARCHIVE_NAME}" -C "target/${BUILD_TARGET}/release" "${BIN_NAME}"
140+
tar czf "${ARCHIVE_NAME}" -C "target/${{ matrix.target }}}/release" "${BIN_NAME}"
142141
143142
echo "ARCHIVE_NAME=${ARCHIVE_NAME}" >> $GITHUB_OUTPUT
144143

0 commit comments

Comments
 (0)