diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3077591..049e0b6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -25,23 +25,23 @@ jobs: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -a -tags netgo -ldflags "-X valar/cli/cmd.version=$VALAR_VERSION -s -w -extldflags \"-static\"" -o valar_linux_arm64 . CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -tags netgo -ldflags "-X valar/cli/cmd.version=$VALAR_VERSION -s -w -extldflags \"-static\"" -o valar_darwin_amd64 . CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -a -tags netgo -ldflags "-X valar/cli/cmd.version=$VALAR_VERSION -s -w -extldflags \"-static\"" -o valar_darwin_arm64 . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: valar_darwin_amd64 path: valar_darwin_amd64 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: valar_darwin_arm64 path: valar_darwin_arm64 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: valar_linux_amd64 path: valar_linux_amd64 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: valar_linux_arm path: valar_linux_arm - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: valar_linux_arm64 path: valar_linux_arm64 @@ -50,19 +50,19 @@ jobs: runs-on: ubuntu-latest needs: [build] steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: valar_linux_arm - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: valar_linux_arm64 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: valar_linux_amd64 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: valar_darwin_amd64 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: valar_darwin_arm64 - name: Create Release