修改upload版本
This commit is contained in:
@@ -52,7 +52,7 @@ jobs:
|
||||
echo "Built ${OUT}"
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: app-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||
path: dist/${{ matrix.goos }}-${{ matrix.goarch }}/*
|
||||
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
if [ "${GOOS}" = "windows" ]; then OUT="${OUT}.exe"; fi
|
||||
go build -trimpath -ldflags="-s -w" -o "${OUT}" ./
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: yourapp-${{ github.ref_name }}-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||
path: dist/${{ matrix.goos }}-${{ matrix.goarch }}/*
|
||||
|
||||
Reference in New Issue
Block a user