mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
update decrypt.sh to receive output folder
This commit is contained in:
2
.github/actions/decrypt.sh
vendored
2
.github/actions/decrypt.sh
vendored
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
credspath="${HOME}/.gam"
|
credspath="$3"
|
||||||
if [ ! -d "$credspath" ]; then
|
if [ ! -d "$credspath" ]; then
|
||||||
echo "creating ${credspath}"
|
echo "creating ${credspath}"
|
||||||
mkdir -p "$credspath"
|
mkdir -p "$credspath"
|
||||||
|
|||||||
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -609,7 +609,7 @@ jobs:
|
|||||||
if [[ "${RUNNER_OS}" == "macOS" ]]; then
|
if [[ "${RUNNER_OS}" == "macOS" ]]; then
|
||||||
brew install gnupg
|
brew install gnupg
|
||||||
fi
|
fi
|
||||||
source ../.github/actions/decrypt.sh ../.github/actions/creds.tar.xz.gpg creds.tar.xz
|
source ../.github/actions/decrypt.sh ../.github/actions/creds.tar.xz.gpg creds.tar.xz "${GAMCFGDIR}"
|
||||||
mv -v "${GAMCFGDIR}/oauth2.txt-gam-gha-${JID}" "${GAMCFGDIR}/oauth2.txt"
|
mv -v "${GAMCFGDIR}/oauth2.txt-gam-gha-${JID}" "${GAMCFGDIR}/oauth2.txt"
|
||||||
rm -v "${GAMCFGDIR}/oauth2.txt-gam*
|
rm -v "${GAMCFGDIR}/oauth2.txt-gam*
|
||||||
export gam_user="gam-gha-${JID}@pdl.jaylee.us"
|
export gam_user="gam-gha-${JID}@pdl.jaylee.us"
|
||||||
|
|||||||
Reference in New Issue
Block a user