fix: ci
This commit is contained in:
4
.github/workflows/server.yml
vendored
4
.github/workflows/server.yml
vendored
@@ -46,7 +46,7 @@ jobs:
|
|||||||
go build -trimpath -ldflags="-s -w" -o "build/${OUT}" ./cmd/server
|
go build -trimpath -ldflags="-s -w" -o "build/${OUT}" ./cmd/server
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: server-${{ matrix.goos }}-${{ matrix.goarch }}
|
name: server-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||||
path: build/server-${{ matrix.goos }}-${{ matrix.goarch }}*
|
path: build/server-${{ matrix.goos }}-${{ matrix.goarch }}*
|
||||||
@@ -58,7 +58,7 @@ jobs:
|
|||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user