From d3c0da36aa7230d722aa94f6ff1fcf87a942d80e Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Tue, 25 Jul 2023 12:02:22 -0400 Subject: [PATCH] actions: use GAMCFGDIR instead of ~/.gam --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 012524c0..3228fd97 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -610,8 +610,8 @@ jobs: brew install gnupg fi source ../.github/actions/decrypt.sh ../.github/actions/creds.tar.xz.gpg creds.tar.xz - mv -v "${HOME}/.gam/oauth2.txt-gam-gha-${JID}" "${HOME}/.gam/oauth2.txt" - rm -v $HOME/.gam/oauth2.txt-gam* + 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