mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-12 01:39:43 +00:00
ci: enhance CI workflow and environment check script
This commit is contained in:
parent
636dfd87f8
commit
137647b6c6
6
.github/workflows/desktop-publish.yml
vendored
6
.github/workflows/desktop-publish.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
with:
|
||||
submodules: "true"
|
||||
|
||||
- name: install dependencies (ubuntu only)
|
||||
- name: Install Dependencies (ubuntu only)
|
||||
if: matrix.settings.platform == 'ubuntu-22.04' # This must match the platform value defined above.
|
||||
run: |
|
||||
sudo apt-get update
|
||||
@ -51,7 +51,7 @@ jobs:
|
||||
run: |
|
||||
sudo apt install -y protobuf-compiler
|
||||
- uses: pnpm/action-setup@v4
|
||||
- name: setup node
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
@ -76,7 +76,7 @@ jobs:
|
||||
run: |
|
||||
rustup target add aarch64-apple-darwin
|
||||
rustup target add x86_64-apple-darwin
|
||||
- name: Rust cache
|
||||
- name: Rust Cache
|
||||
uses: swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: ". -> target"
|
||||
|
@ -20,6 +20,11 @@ if (process.platform === "win32") {
|
||||
console.log(
|
||||
`Program Files Directory (${programFilesDir}) Exists: ${fs.existsSync(programFilesDir)}`
|
||||
)
|
||||
console.log("Program Files Directory Contents:")
|
||||
for (const dir of fs.readdirSync(programFilesDir)) {
|
||||
console.log(dir)
|
||||
}
|
||||
|
||||
console.log(`OPENSSL_DIR (${OPENSSL_DIR}) Exists: ${fs.existsSync(OPENSSL_DIR)}`)
|
||||
console.log(
|
||||
`OPENSSL_INCLUDE_DIR (${OPENSSL_INCLUDE_DIR}) Exists: ${fs.existsSync(OPENSSL_INCLUDE_DIR)}`
|
||||
|
Loading…
x
Reference in New Issue
Block a user