diff --git a/.circleci/config.yml b/.circleci/config.yml index 13d1c97b..988cb328 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -98,9 +98,8 @@ jobs: # NOTE: make sure to change when upgrading tor key: "build-win64-tor-0.4.7.7-{{ .Environment.CACHE_VERSION }}" - # Install cygwin and required packages - run: - name: Install cygwin and required packages (for building tor) + name: Install cygwin and required packages shell: bash.exe --login -eo pipefail command: | curl -o setup-x86_64.exe https://cygwin.com/setup-x86_64.exe @@ -156,7 +155,6 @@ jobs: # paths: # - C:\Users\circleci\build\libevent - # Build tor - run: name: Build tor shell: C:\\cygwin64\\bin\\bash.exe --login -eo pipefail @@ -198,9 +196,10 @@ jobs: - run: name: Copy tor binaries into project command: | - Copy-Item -Path C:\Useres\circleci\build\tor\bin\tor.exe -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\ - Copy-Item -Path C:\Useres\circleci\build\tor\share\tor\geoip -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\ - Copy-Item -Path C:\Useres\circleci\build\tor\share\tor\geoip6 -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\ + New-Item -ItemType Directory -Force -Path C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\ + Copy-Item -Path C:\Users\circleci\build\tor\bin\tor.exe -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\ + Copy-Item -Path C:\Users\circleci\build\tor\share\tor\geoip -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\ + Copy-Item -Path C:\Users\circleci\build\tor\share\tor\geoip6 -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\ - restore_cache: # NOTE: make sure to change when uprading obfs4proxy