mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-09 22:23:35 +00:00
actions take 104
This commit is contained in:
6
.github/actions/decrypt.sh
vendored
6
.github/actions/decrypt.sh
vendored
@ -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";
|
||||
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user