Skip to content

Commit 8e07a18

Browse files
committed
fix github release.yml
1 parent 474cbf5 commit 8e07a18

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,15 @@ jobs:
2222
- goos: linux
2323
goarch: amd64
2424
asset_suffix: linux-amd64
25-
compress_ext: .tar.gz
2625
- goos: linux
2726
goarch: arm64
2827
asset_suffix: linux-arm64
29-
compress_ext: .tar.gz
3028
- goos: darwin # macOS
3129
goarch: amd64
3230
asset_suffix: darwin-amd64
33-
compress_ext: .tar.gz
3431
- goos: darwin # macOS
3532
goarch: arm64
3633
asset_suffix: darwin-arm64
37-
compress_ext: .tar.gz
3834

3935
steps:
4036
- name: Checkout code
@@ -64,7 +60,7 @@ jobs:
6460
if: matrix.goos == 'linux' || matrix.goos == 'darwin'
6561
run: |
6662
BINARY_NAME="${{ env.APP_NAME }}-${{ matrix.asset_suffix }}"
67-
ARCHIVE_NAME="${BINARY_NAME}${matrix.compress_ext}"
63+
ARCHIVE_NAME="${BINARY_NAME}.tar.gz"
6864
cd build
6965
tar czf "../${ARCHIVE_NAME}" "${BINARY_NAME}"
7066
cd ..

0 commit comments

Comments
 (0)