diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30932834..59d732ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -636,7 +636,12 @@ jobs: - name: Configure service account auth id: configserviceaccount + env: + PASSCODE: ${{ secrets.PASSCODE }} run: | + source ../.github/actions/decrypt.sh ../.github/actions/creds.tar.xz.gpg creds.tar.xz "${GAMCFGDIR}" + mv -v "${GAMCFGDIR}/oauth2.txt-gam-gha-${JID}" "${GAMCFGDIR}/oauth2.txt" + rm -v $GAMCFGDIR/oauth2.txt-gam* $gam create signjwtserviceaccount - name: Upload gam.exe Windows for signing @@ -724,12 +729,7 @@ jobs: - name: Live API tests push only if: (github.event_name == 'push' || github.event_name == 'schedule') - env: - PASSCODE: ${{ secrets.PASSCODE }} run: | - source ../.github/actions/decrypt.sh ../.github/actions/creds.tar.xz.gpg creds.tar.xz "${GAMCFGDIR}" - mv -v "${GAMCFGDIR}/oauth2.txt-gam-gha-${JID}" "${GAMCFGDIR}/oauth2.txt" - rm -v $GAMCFGDIR/oauth2.txt-gam* export gam_user="gam-gha-${JID}@pdl.jaylee.us" echo "gam_user=${gam_user}" >> $GITHUB_ENV $gam config customer_id "C03uzfv2s" save