Skip to content

Commit

Permalink
Specify Boost zip file name of dir it unzips to
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesParrott committed Nov 6, 2023
1 parent ae5497a commit f36c8dc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit f36c8dc

Please sign in to comment.