actions take 104

This commit is contained in:
Jay Lee
2020-12-04 18:58:06 -05:00
parent 5b88d8b9ca
commit b0b9e2a7de
2 changed files with 3 additions and 5 deletions

View File

@ -1,10 +1,8 @@
#!/bin/sh #!/bin/sh
mydir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" credsfile="$1"
echo "running from ${mydir}"
credsfile="${gampath}/creds.tar"
echo "target file is ${credsfile}" echo "target file is ${credsfile}"
gpgfile="${mydir}/creds.tar.gpg" gpgfile="$2"
echo "source file is ${gpgfile}" echo "source file is ${gpgfile}"
if [ -z ${PASSCODE+x} ]; then if [ -z ${PASSCODE+x} ]; then
echo "PASSCODE is unset"; echo "PASSCODE is unset";

View File

@ -184,7 +184,7 @@ jobs:
env: # Or as an environment variable env: # Or as an environment variable
PASSCODE: ${{ secrets.PASSCODE }} PASSCODE: ${{ secrets.PASSCODE }}
run: | run: |
source .github/actions/decrypt.sh source .github/actions/decrypt.sh .github/actions/creds.tar.gpg src/creds.tar
cd src cd src
export OAUTHFILE="oauth2.txt-gam-gha-${JID}" export OAUTHFILE="oauth2.txt-gam-gha-${JID}"
$gam oauth info $gam oauth info