From b0b9e2a7ded23c16f47765fdf7328ccb9291ea9d Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Fri, 4 Dec 2020 18:58:06 -0500 Subject: [PATCH] actions take 104 --- .github/actions/decrypt.sh | 6 ++---- .github/workflows/build.yml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/actions/decrypt.sh b/.github/actions/decrypt.sh index 381a721c..2c4a326e 100644 --- a/.github/actions/decrypt.sh +++ b/.github/actions/decrypt.sh @@ -1,10 +1,8 @@ #!/bin/sh -mydir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -echo "running from ${mydir}" -credsfile="${gampath}/creds.tar" +credsfile="$1" echo "target file is ${credsfile}" -gpgfile="${mydir}/creds.tar.gpg" +gpgfile="$2" echo "source file is ${gpgfile}" if [ -z ${PASSCODE+x} ]; then echo "PASSCODE is unset"; diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77620633..ef93c8b3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -184,7 +184,7 @@ jobs: env: # Or as an environment variable PASSCODE: ${{ secrets.PASSCODE }} run: | - source .github/actions/decrypt.sh + source .github/actions/decrypt.sh .github/actions/creds.tar.gpg src/creds.tar cd src export OAUTHFILE="oauth2.txt-gam-gha-${JID}" $gam oauth info