fix: uptag

This commit is contained in:
devthejo 2023-12-20 22:54:03 +01:00
parent 77eb1c0ce0
commit f4a8edebcf
Signed by: devthejo
GPG key ID: C04215C627711F5C
6 changed files with 7 additions and 6 deletions

4
uptag/.pnp.cjs generated
View file

@ -34,7 +34,7 @@ const RAW_RUNTIME_STATE =
]],\
["lodash.set", [\
["npm:4.3.2", {\
"packageLocation": "../../../../home/jo/.yarn/berry/cache/lodash.set-npm-4.3.2-7586c942c2-10c0.zip/node_modules/lodash.set/",\
"packageLocation": "./.yarn/cache/lodash.set-npm-4.3.2-7586c942c2-c641d31905.zip/node_modules/lodash.set/",\
"packageDependencies": [\
["lodash.set", "npm:4.3.2"]\
],\
@ -54,7 +54,7 @@ const RAW_RUNTIME_STATE =
]],\
["yaml", [\
["npm:2.3.4", {\
"packageLocation": "../../../../home/jo/.yarn/berry/cache/yaml-npm-2.3.4-8bb6dc2c0d-10c0.zip/node_modules/yaml/",\
"packageLocation": "./.yarn/cache/yaml-npm-2.3.4-8bb6dc2c0d-cf03b68f8f.zip/node_modules/yaml/",\
"packageDependencies": [\
["yaml", "npm:2.3.4"]\
],\

Binary file not shown.

Binary file not shown.

View file

@ -1 +1,2 @@
yarnPath: .yarn/releases/yarn-4.0.2.cjs
enableGlobalCache: false

View file

@ -45,10 +45,10 @@ runs:
echo "Using tag: $TAG"
export CD_WORKING_DIR=$PWD
cd $GITHUB_ACTION_PATH
yarn
yarn node index.js
cd $GITHUB_WORKSPACE
cd $CD_WORKING_DIR
git config user.name "forgejo-actions"
git config user.email "bot@devthefuture.org"

View file

@ -34,8 +34,8 @@ const main = async () => {
const cdApp = process.env.CD_APP;
const cdEnv = process.env.CD_ENV;
const cdKey = process.env.CD_KEY;
const workspace = process.env.GITHUB_WORKSPACE;
process.cwd(workspace);
const workingDir = process.env.CD_WORKING_DIR;
process.cwd(workingDir);
let apps;
if (cdApp.includes("\n")) {
apps = yamlLoadAll(cdApp);