Skip to content

Commit

Permalink
use wildcard for artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Sep 20, 2023
1 parent 895d085 commit 8b5e8d3
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b5e8d3

Please sign in to comment.