Properly skip cached builds

This commit is contained in:
Micah Lee 2022-09-30 16:47:20 -07:00
parent 52fdbf3fae
commit 25ebbd3217
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -41,7 +41,7 @@ jobs:
- name: Build obfs4proxy
shell: pwsh
run: |
if ((Test-Path -Path 'project\desktop\onionshare\resources\tor\obfs4proxy.exe') -eq $True) {
if ((Test-Path -Path 'desktop\onionshare\resources\tor\obfs4proxy.exe') -eq $True) {
Write-Output "obfs4proxy already built"
} else {
cd desktop
@ -57,7 +57,7 @@ jobs:
- name: Build snowflake
shell: pwsh
run: |
if ((Test-Path -Path 'project\desktop\onionshare\resources\tor\snowflake-client.exe') -eq $True) {
if ((Test-Path -Path 'desktop\onionshare\resources\tor\snowflake-client.exe') -eq $True) {
Write-Output "snowflake already built"
} else {
cd desktop
@ -73,7 +73,7 @@ jobs:
- name: Build meek
shell: pwsh
run: |
if ((Test-Path -Path 'project\desktop\onionshare\resources\tor\meek-client.exe') -eq $True) {
if ((Test-Path -Path 'desktop\onionshare\resources\tor\meek-client.exe') -eq $True) {
Write-Output "meek already built"
} else {
cd desktop