From 8b5e8d314972df9f52833f72eada18e6304678bd Mon Sep 17 00:00:00 2001 From: charles Date: Wed, 20 Sep 2023 10:17:38 +0200 Subject: [PATCH] use wildcard for artifact --- .github/workflows/go.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 32c89c0..696c5d9 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -46,23 +46,17 @@ jobs: $env:CGO_CXXFLAGS="-I${{github.workspace}}\libs\webview2\build\native\include" go build -a -trimpath -ldflags "-H=windowsgui -X github.com/pydio/cells-sync/common.Version=$env:DEV_VERSION" -o cells-sync.exe - - name: Upload - uses: actions/upload-artifact@v3 - with: - name: cells-sync-windows - path: cells-sync.exe - - name: Build No-UI Version run: | $env:DEV_VERSION = ((Get-Content .\Makefile -TotalCount 1) -split '=')[1].Trim() $env:CGO_ENABLED=0 go build -a -trimpath --tags pure -ldflags "-H=windowsgui -X github.com/pydio/cells-sync/common.Version=$env:DEV_VERSION" -o cells-sync-noui.exe - - name: Upload No-UI Version + - name: Upload Artifacts uses: actions/upload-artifact@v3 with: - name: cells-sync-noui-windows - path: cells-sync-noui.exe + name: cells-sync-windows + path: cells-sync*.exe - name: Checkout Artifacts uses: actions/checkout@v4