From c9ca0a472c6efaf34d9f1ebfa530f3f5d978cc72 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Fri, 18 Apr 2025 11:06:26 -0400 Subject: [PATCH] actions: update user credentials --- .github/workflows/build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd8ad085..d6c16094 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -598,14 +598,12 @@ jobs: echo "GAM Version ${GAMVERSION}" echo "GAMVERSION=${GAMVERSION}" >> $GITHUB_ENV - - name: Configure service account auth + - name: Configure user and service account auth id: configserviceaccount env: - PASSCODE: ${{ secrets.PASSCODE }} + oa2: ${{ secrets.GAM_GHA_${{ matrix.jid }} }} 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* + ../.github/actions/decrypt.sh "${GAMCFGDIR}" $gam create signjwtserviceaccount - name: Upload gam.exe Windows for signing