powershell Invoke-Expression

This commit is contained in:
Kyle Spearrin 2020-06-08 12:25:39 -04:00
parent 4358ff2338
commit 8ce4ebb16e
1 changed files with 4 additions and 4 deletions

View File

@ -30,20 +30,20 @@ jobs:
- name: Decrypt secrets
if: github.ref == 'refs/heads/master'
run: powershell -command "& './github/scripts/android/decrypt-secrets.ps1'"
run: powershell Invoke-Expression "& './github/scripts/android/decrypt-secrets.ps1'"
env:
DECRYPT_FILE_PASSWORD: ${{ secrets.DECRYPT_FILE_PASSWORD }}
- name: Increment version
if: github.ref == 'refs/heads/master'
run: powershell -command "& './github/scripts/android/increment-version.ps1'"
run: powershell Invoke-Expression "& './github/scripts/android/increment-version.ps1'"
- name: Restore packages
run: nuget restore
- name: Build for Play Store
if: github.ref == 'refs/heads/master'
run: powershell -command "& './github/scripts/android/build-play.ps1'"
run: powershell Invoke-Expression "& './github/scripts/android/build-play.ps1'"
env:
PLAY_KEYSTORE_PASSWORD: ${{ secrets.PLAY_KEYSTORE_PASSWORD }}
UPLOAD_KEYSTORE_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_PASSWORD }}
@ -64,7 +64,7 @@ jobs:
- name: Build for F-Droid Store
if: github.ref == 'refs/heads/master'
run: powershell -command "& './github/scripts/android/build-fdroid.ps1'"
run: powershell Invoke-Expression "& './github/scripts/android/build-fdroid.ps1'"
env:
FDROID_KEYSTORE_PASSWORD: ${{ secrets.FDROID_KEYSTORE_PASSWORD }}