mirror of
https://github.com/fiatjaf/vnak.git
synced 2026-10-05 15:38:23 +00:00
cache docker on github action build for windows.
This commit is contained in:
@@ -57,6 +57,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: container-build-cache
|
path: container-build-cache
|
||||||
key: ${{ runner.os }}-go-container-build-${{ hashFiles('**/go.sum') }}
|
key: ${{ runner.os }}-go-container-build-${{ hashFiles('**/go.sum') }}
|
||||||
|
- name: Cache Docker Global
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: /var/lib/docker
|
||||||
|
key: docker-global-${{ runner.os }}
|
||||||
|
- name: Cache Docker Local
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.docker
|
||||||
|
key: docker-local-${{ runner.os }}
|
||||||
- run: go install github.com/mappu/miqt/cmd/miqt-docker@latest
|
- run: go install github.com/mappu/miqt/cmd/miqt-docker@latest
|
||||||
- run: ~/go/bin/miqt-docker win64-qt6-static -windows-build --tags=windowsqtstatic
|
- run: ~/go/bin/miqt-docker win64-qt6-static -windows-build --tags=windowsqtstatic
|
||||||
- name: Upload Windows binary
|
- name: Upload Windows binary
|
||||||
@@ -75,7 +85,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: vnak-windows-amd64
|
name: vnak-windows-amd64
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
vnak
|
vnak
|
||||||
|
|||||||
Reference in New Issue
Block a user