diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95f2c6c5f..2cc944504 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: ./github/scripts/android/decrypt-secrets.ps1 + run: powershell -command "& './github/scripts/android/decrypt-secrets.ps1'" env: DECRYPT_FILE_PASSWORD: ${{ secrets.DECRYPT_FILE_PASSWORD }} - name: Increment version if: github.ref == 'refs/heads/master' - run: ./github/scripts/android/increment-version.ps1 + run: powershell -command "& './github/scripts/android/increment-version.ps1'" - name: Restore packages run: nuget restore - name: Build for Play Store if: github.ref == 'refs/heads/master' - run: ./github/scripts/android/build-play.ps1 + run: powershell -command "& './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: ./github/scripts/android/build-fdroid.ps1 + run: powershell -command "& './github/scripts/android/build-fdroid.ps1'" env: FDROID_KEYSTORE_PASSWORD: ${{ secrets.FDROID_KEYSTORE_PASSWORD }}