mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-10 14:43:34 +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
|
#!/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";
|
||||||
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user