Update main.yml
This commit is contained in:
parent
af09adb590
commit
f26faa0a89
1 changed files with 2 additions and 15 deletions
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
|||
- name: 打包静态资源
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: statik.zip
|
||||
name: statics.zip
|
||||
path: ./assets/build/
|
||||
|
||||
- name: 嵌入静态资源
|
||||
|
@ -68,20 +68,7 @@ jobs:
|
|||
export GOOS=linux
|
||||
go build -a -o ./bin/cloudreve_$VERSION_$GOOS_$GOARCH -ldflags " -X 'github.com/HFO4/cloudreve/pkg/conf.BackendVersion=$VERSION' -X 'github.com/HFO4/cloudreve/pkg/conf.LastCommit=$COMMIT_SHA'"
|
||||
|
||||
#- name: 编译windows_amd64
|
||||
# run: |
|
||||
# export GOARCH=amd64
|
||||
# export CGO_ENABLED=1
|
||||
# export GOOS=windows
|
||||
# go build -a -o ./bin/cloudreve_$VERSION_$GOOS_$GOARCH -ldflags " -X 'github.com/HFO4/cloudreve/pkg/conf.BackendVersion=$VERSION' -X 'github.com/HFO4/cloudreve/pkg/conf.LastCommit=$COMMIT_SHA'"
|
||||
|
||||
#- name: 编译darwin_amd64
|
||||
# run: |
|
||||
# export GOARCH=amd64
|
||||
# export CGO_ENABLED=1
|
||||
# export GOOS=darwin
|
||||
# go build -a -o ./bin/cloudreve_$VERSION_$GOOS_$GOARCH -ldflags " -X 'github.com/HFO4/cloudreve/pkg/conf.BackendVersion=$VERSION' -X 'github.com/HFO4/cloudreve/pkg/conf.LastCommit=$COMMIT_SHA'"
|
||||
|
||||
|
||||
- name: 打包二进制文件
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue