Fix cache keys

This commit is contained in:
Micah Lee 2022-05-29 15:43:25 -07:00
parent f9e2bc215d
commit c23621d841
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -96,7 +96,7 @@ jobs:
- restore_cache: - restore_cache:
# NOTE: make sure to change when upgrading tor # NOTE: make sure to change when upgrading tor
key: "build-win64-tor-0.4.7.7-{{ .Environment.CACHE_VERSION }}" key: build-win64-tor-0.4.7.7-{{ .Environment.CACHE_VERSION }}
- run: - run:
name: Install cygwin and required packages name: Install cygwin and required packages
@ -189,7 +189,7 @@ jobs:
cp -r /opt/tor-build /cygdrive/c/Users/circleci/build/tor cp -r /opt/tor-build /cygdrive/c/Users/circleci/build/tor
- save_cache: - save_cache:
# NOTE: make sure to change when upgrading tor # NOTE: make sure to change when upgrading tor
key: "build-win64-tor-0.4.7.7-{{ .Environment.CACHE_VERSION }}" key: build-win64-tor-0.4.7.7-{{ .Environment.CACHE_VERSION }}
paths: paths:
- C:\Users\circleci\build\tor - C:\Users\circleci\build\tor
@ -203,7 +203,7 @@ jobs:
- restore_cache: - restore_cache:
# NOTE: make sure to change when upgrading obfs4proxy # NOTE: make sure to change when upgrading obfs4proxy
key: build-win64-obfs4proxy-v0.0.13-{{ .Environment.CACHE_VERSION }}" key: build-win64-obfs4proxy-v0.0.13-{{ .Environment.CACHE_VERSION }}
- run: - run:
name: Build obfs4proxy name: Build obfs4proxy
command: | command: |
@ -222,13 +222,13 @@ jobs:
} }
- save_cache: - save_cache:
# NOTE: make sure to change when upgrading obfs4proxy # NOTE: make sure to change when upgrading obfs4proxy
key: build-win64-obfs4proxy-v0.0.13-{{ .Environment.CACHE_VERSION }}" key: build-win64-obfs4proxy-v0.0.13-{{ .Environment.CACHE_VERSION }}
paths: paths:
- C:\Users\circleci\project\desktop\onionshare\resources\tor\obfs4proxy.exe - C:\Users\circleci\project\desktop\onionshare\resources\tor\obfs4proxy.exe
- restore_cache: - restore_cache:
# NOTE: make sure to change when upgrading snowflake # NOTE: make sure to change when upgrading snowflake
key: build-win64-snowflake-v2.1.0-{{ .Environment.CACHE_VERSION }}" key: build-win64-snowflake-v2.1.0-{{ .Environment.CACHE_VERSION }}
- run: - run:
name: Build snowflake-client name: Build snowflake-client
command: | command: |
@ -246,13 +246,13 @@ jobs:
} }
- save_cache: - save_cache:
# NOTE: make sure to change when upgrading snowflake # NOTE: make sure to change when upgrading snowflake
key: build-win64-snowflake-v2.1.0-{{ .Environment.CACHE_VERSION }}" key: build-win64-snowflake-v2.1.0-{{ .Environment.CACHE_VERSION }}
paths: paths:
- C:\Users\circleci\project\desktop\onionshare\resources\tor\snowflake-client.exe - C:\Users\circleci\project\desktop\onionshare\resources\tor\snowflake-client.exe
- restore_cache: - restore_cache:
# NOTE: make sure to change when upgrading meek # NOTE: make sure to change when upgrading meek
key: build-win64-meek-v0.37.0-{{ .Environment.CACHE_VERSION }}" key: build-win64-meek-v0.37.0-{{ .Environment.CACHE_VERSION }}
- run: - run:
name: Build meek-client name: Build meek-client
command: | command: |
@ -270,7 +270,7 @@ jobs:
} }
- save_cache: - save_cache:
# NOTE: make sure to change when upgrading meek # NOTE: make sure to change when upgrading meek
key: build-win64-meek-v0.37.0-{{ .Environment.CACHE_VERSION }}" key: build-win64-meek-v0.37.0-{{ .Environment.CACHE_VERSION }}
paths: paths:
- C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\meek-client.exe - C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\meek-client.exe