From 5f70bdd1f92c97488f36138e4d87079ce4c0198f Mon Sep 17 00:00:00 2001 From: FriendlyFire Date: Tue, 5 Mar 2024 23:53:13 -0500 Subject: [PATCH] Hopefully fixed --- .github/workflows/main.yml | 11 +++++++++++ GW2Clarity/common | 2 +- GW2Clarity/include/Tag.h | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5bbc29f..f300f52 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,12 +45,23 @@ jobs: - run: nuget restore "${env:GITHUB_WORKSPACE}\GW2Clarity.sln" + - name: Export GitHub Actions cache environment variables + uses: actions/github-script@v6 + with: + script: | + core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); + core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); + - name: Build Release if: startsWith(github.ref, 'refs/tags/v') run: msbuild.exe "${env:GITHUB_WORKSPACE}\GW2Clarity.sln" /t:Build /p:Configuration=Release /p:Platform=x64 /p:GitHubDefs=USE_GITHUB_VER + env: + VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" - name: Build Debug run: msbuild.exe "${env:GITHUB_WORKSPACE}\GW2Clarity.sln" /t:Build /p:Configuration=Debug /p:Platform=x64 /p:GitHubDefs=USE_GITHUB_VER + env: + VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" - name: Save nightly build from master uses: actions/upload-artifact@v3 diff --git a/GW2Clarity/common b/GW2Clarity/common index 4498a87..610af17 160000 --- a/GW2Clarity/common +++ b/GW2Clarity/common @@ -1 +1 @@ -Subproject commit 4498a87c7e9c962e2dd669401151683e61c7f7ec +Subproject commit 610af174024c197e2cf91f6f734b34962d701578 diff --git a/GW2Clarity/include/Tag.h b/GW2Clarity/include/Tag.h index 835236d..f05a5c3 100644 --- a/GW2Clarity/include/Tag.h +++ b/GW2Clarity/include/Tag.h @@ -1,4 +1,4 @@ #pragma once -#include +#include static constexpr semver::version CurrentVersion { 0, 0, 1 };