From 394ff705ddfdbb193ac9f6db0ed8cfb9ce951565 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 15 Feb 2025 17:13:16 +1300 Subject: [PATCH] github/ci: include version/platform in all cache key names --- .github/workflows/miqt.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/miqt.yml b/.github/workflows/miqt.yml index 00088cc3..9d90ff34 100644 --- a/.github/workflows/miqt.yml +++ b/.github/workflows/miqt.yml @@ -40,7 +40,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.cache/go-build - key: linux64-gocache + key: linux64-qt5-gocache - name: Linux64 bindings compile and test run: docker run -v ~/.cache/go-build:/root/.cache/go-build -v $PWD:/src -w /src miqt/linux64:qt5 /bin/bash -c 'cd qt && go build && cd ../examples/marshalling && env QT_QPA_PLATFORM=offscreen go test -v' @@ -94,7 +94,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.cache/go-build - key: win32-gocache + key: win32-qt5-gocache - name: Win32 docker build run: docker build -t miqt/win32:qt5 -f docker/win32-cross-go1.23-qt5.15-static.Dockerfile . @@ -113,7 +113,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.cache/go-build - key: win64-gocache + key: win64-qt5-gocache - name: Win64 docker build run: docker build -t miqt/win64:qt5 -f docker/win64-cross-go1.23-qt5.15-static.Dockerfile . @@ -132,7 +132,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.cache/go-build - key: win64-gocache + key: win64-qt68-gocache - name: Win64 docker build run: docker build -t miqt/win64:qt68 -f docker/win64-cross-go1.23-qt6.8-dynamic.Dockerfile . @@ -154,7 +154,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.cache/go-build - key: android-armv8a-gocache + key: android-qt5-armv8a-gocache - name: Android compile app as c-shared my_go_app.so run: docker run -v ~/.cache/go-build:/root/.cache/go-build -v $PWD:/src -w /src/examples/android miqt/android:qt5 go build -buildmode c-shared -ldflags "-s -w -extldflags -Wl,-soname,my_go_app.so" -o android-build/libs/arm64-v8a/my_go_app.so