Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Commit 2676d2b

Browse files
authored
fix(ci): file path
1 parent 72d2f37 commit 2676d2b

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,25 @@ jobs:
8686

8787
- name: Pack built files
8888
run: |
89-
zip go-http-fileserver-linux.zip ghf-linux
90-
zip go-http-fileserver-macos.zip ghf-macos
91-
zip go-http-fileserver-windows.zip ghf-windows.exe
89+
cd go-http-fileserver-linux
90+
zip ../linux.zip ./*
91+
cd ../
92+
cd go-http-fileserver-macos
93+
zip ../macos.zip ./*
94+
cd ../
95+
cd go-http-fileserver-windows
96+
zip ../windows.zip ./*
97+
cd ../
9298
9399
- name: Create release
94100
uses: softprops/action-gh-release@v1
95101
with:
96102
name: GHF - ${GITHUB_REF_NAME}
97103
generate_release_notes: true
98104
files: |
99-
go-http-fileserver-linux.zip
100-
go-http-fileserver-macos.zip
101-
go-http-fileserver-windows.zip
105+
linux.zip
106+
macos.zip
107+
windows.zip
102108
env:
103109
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104110

0 commit comments

Comments
 (0)