diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bae9e86c7..d0eb5426e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}