我正在尝试将gswin64c(gswin32c也可以,但是下面的小脚本也会产生同样的问题)用于GitHub操作,但是在安装包之后,仍然找不到gswin64c可执行文件
jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {
name: "Windows Latest MSVC Debug",
os: windows-latest,
build_type: "Debug", cc: "cl", cxx: "cl",
build_gen: "NMake Makefiles"
}
steps:
- name: Install Ghostscript (Windows)
run:
choco install ghostscript
if: matrix.config.os == 'windows-latest'
- name: Check tool versions (Windows)
shell: bash
run: |
echo "=== ghostscript 64 bit ===";
gswin64c --version;
if: matrix.config.os == 'windows-latest'
=== ghostscript 64 bit ===
D:\a\_temp\2690ee6c-4c94-4de6-9dac-3f11a4aee19e.sh: line 19: gswin64c: command not found
Error: Process completed with exit code 127.