Workflow: escape strings.

This commit is contained in:
imi415 2022-08-09 00:05:00 +08:00
parent 749053df1e
commit 46b28fe040
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A
1 changed files with 2 additions and 2 deletions

View File

@ -19,12 +19,12 @@ jobs:
working-directory: "ct_ng"
run: "./bootstrap && ./configure --prefix=${{ github.workspace }}/.local && make && make install"
- name: "Create build environment"
run: "mkdir build && cp meta/Crosstool-NG/defconfig build/defconfig"
run: "mkdir -p build/tarballs && cp meta/Crosstool-NG/defconfig build/defconfig"
- name: "Patch defconfig & configure build"
working-directory: "build"
run: |
echo CT_LOCAL_TARBALLS_DIR="${{ github.workspace }}/tarballs" >> defconfig
echo CT_PREFIX_DIR="${CT_TOP_DIR}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}" >> defconfig
echo CT_PREFIX_DIR="\${CT_TOP_DIR}/\${CT_HOST:+HOST-${CT_HOST}/}\${CT_TARGET}" >> defconfig
echo CT_LOG_PROGRESS_BAR=n >> defconfig
ct-ng defconfig
- name: "Tarball cache management"