diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 262da97c..54a2c53e 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -13,7 +13,8 @@ env: # Configuration type to build. BUILD_CONFIGURATION: Release - BOOST_URL: "https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_1_82_0.zip" + BOOST_URL: "https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/" + BOOST_FILE: "boost_1_82_0" jobs: compile: @@ -70,7 +71,7 @@ jobs: uses: actions/cache@v3 with: path: C:/vcpkg/packages/ - key: ${{ runner.os }}-boost-v${{ env.BOOST_URL_SUFFIX }}--${{ hashFiles('vcpkg.json') }} + key: ${{ runner.os }}-boost-v${{ env.BOOST_FILE }}--${{ hashFiles('vcpkg.json') }} - name: Download Boost @@ -79,9 +80,9 @@ jobs: run: | mkdir d:\boost\ cd d:\boost - curl -L -o biscuit_boost.zip ${{ env.BOOST_URL }} - tar -xf biscuit_boost.zip - mv .\biscuit_boost .\boost_1_55_0 + curl -L -o ${{ env.BOOST_FILE }}.zip ${{ env.BOOST_URL }}${{ env.BOOST_FILE }}.zip + tar -xf ${{ env.BOOST_FILE }}.zip + mv .\${{ env.BOOST_FILE }} .\boost_1_55_0 # Renaming an env-versioned download to one of a different version is a terrible awful hack, # but I want to change the sDNA config and source as little as possible until I know it actually works