File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -110,17 +110,18 @@ jobs:
110
110
registry-url : ' https://registry.npmjs.org'
111
111
112
112
- name : Build CLI
113
- run : go build -ldflags="-s -w -X 'github.com/esm-dev/esm.sh/server.VERSION=${{ github.ref_name }}'" -o cli/tmp/bin/esm.sh${{ matrix.ext }} cli/cmd/main.go
113
+ run : go build -ldflags="-s -w -X 'github.com/esm-dev/esm.sh/server.VERSION=${{ github.ref_name }}'" -o cli/tmp/bin/esm.sh-cli-${{ matrix.os }}-${{ matrix.arch }} ${{ matrix.ext }} cli/cmd/main.go
114
114
env :
115
115
GOOS : ${{ matrix.os }}
116
116
GOARCH : ${{ matrix.arch }}
117
117
CGO_ENABLED : " 0"
118
118
119
119
- name : Upload Artifact
120
120
uses : actions/upload-artifact@v4
121
+ working-directory : cli/tmp/bin
121
122
with :
122
123
name : esm.sh-cli-${{ matrix.os }}-${{ matrix.arch }}
123
- path : cli/tmp/bin/ esm.sh${{ matrix.ext }}
124
+ path : esm.sh-cli-${{ matrix.os }}-${{ matrix.arch }} ${{ matrix.ext }}
124
125
if-no-files-found : error
125
126
126
127
- name : Create package.json
You can’t perform that action at this time.
0 commit comments