maybe fix the build again for windows and mac?

This commit is contained in:
fiatjaf
2025-11-29 07:51:38 -03:00
parent 032ba4963c
commit 3b9ef7ddb2
+1 -15
View File
@@ -40,20 +40,6 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- id: go-cache-paths
run: |
echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT
echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
- name: Go Mod Cache
uses: actions/cache@v4
with:
path: ${{ steps.go-cache-paths.outputs.go-mod }}
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
- name: Go Build Cache
uses: actions/cache@v4
with:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
- run: go install github.com/mappu/miqt/cmd/miqt-docker@latest
- run: ~/go/bin/miqt-docker win64-qt6-static -windows-build --tags=windowsqtstatic
- name: Upload Windows binary
@@ -83,7 +69,7 @@ jobs:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
- run: go install github.com/mappu/miqt/cmd/miqt-docker@latest
- run: ~/go/bin/miqt-docker osxcross -build
- run: ~/go/bin/miqt-docker macos -build
- name: Upload macOS binary
uses: actions/upload-artifact@v4
with: