mirror of https://github.com/Xhofe/alist
parent
027edcbe53
commit
226c34929a
|
@ -87,12 +87,18 @@ jobs:
|
||||||
run: bash build.sh dev web
|
run: bash build.sh dev web
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
id: test-action
|
|
||||||
uses: go-cross/cgo-actions@v1
|
uses: go-cross/cgo-actions@v1
|
||||||
with:
|
with:
|
||||||
targets: ${{ matrix.target }}
|
targets: ${{ matrix.target }}
|
||||||
musl-target-format: $os-$musl-$arch
|
musl-target-format: $os-$musl-$arch
|
||||||
out-dir: build
|
out-dir: build
|
||||||
|
x-flags: |
|
||||||
|
github.com/alist-org/alist/v3/internal/conf.BuiltAt=$built_at
|
||||||
|
github.com/alist-org/alist/v3/internal/conf.GoVersion=$go_version
|
||||||
|
github.com/alist-org/alist/v3/internal/conf.GitAuthor=Xhofe
|
||||||
|
github.com/alist-org/alist/v3/internal/conf.GitCommit=$git_commit
|
||||||
|
github.com/alist-org/alist/v3/internal/conf.Version=$tag
|
||||||
|
github.com/alist-org/alist/v3/internal/conf.WebVersion=dev
|
||||||
|
|
||||||
- name: Compress
|
- name: Compress
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue