mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
CI(modules/web/build): check github workflows ENV
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
import { URL } from "node:url";
|
||||
import fs from "node:fs";
|
||||
import process from "node:process";
|
||||
|
||||
if (!process.env.GITHUB_ENV) {
|
||||
console.log("非Github WorkFlows环境,取消文件复制")
|
||||
process.exit()
|
||||
}
|
||||
const LEGADO_ASSETS_WEB_VUE_DIR = new URL(
|
||||
"../../../app/src/main/assets/web/vue",
|
||||
import.meta.url,
|
||||
|
||||
Reference in New Issue
Block a user