From 8ce4ebb16e389b3b4c1a44be26d68d58b0de6e7d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 8 Jun 2020 12:25:39 -0400 Subject: [PATCH] powershell Invoke-Expression --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2cc944504..bae9e86c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}