try `shell: pwsh`

This commit is contained in:
Kyle Spearrin 2020-06-08 12:29:57 -04:00
parent 8ce4ebb16e
commit ba3d577125
1 changed files with 8 additions and 4 deletions

View File

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