mirror of https://github.com/aminya/setup-cpp
fix: fix docker base name
This commit is contained in:
parent
b2cf91c9df
commit
d2fe82a0d2
|
@ -38,6 +38,7 @@ jobs:
|
|||
path: |
|
||||
~/.pnpm-store
|
||||
D:\.pnpm-store
|
||||
./node_modules
|
||||
key: "setupcpp-cache-OS:${{ matrix.os }}-node:${{ matrix.node }}-pnpm:${{ matrix.pnpm }}-${{ hashFiles('./.npmrc') }}-deps:${{ hashFiles('./package.json') }}"
|
||||
restore-keys: |
|
||||
"setupcpp-cache-OS:${{ matrix.os }}-"
|
||||
|
@ -151,6 +152,7 @@ jobs:
|
|||
path: |
|
||||
~/.pnpm-store
|
||||
D:\.pnpm-store
|
||||
./node_modules
|
||||
key: "setupcpp-docker-cache-OS:${{ matrix.os }}-${{ hashFiles('./.npmrc') }}-deps:${{ hashFiles('./package.json') }}"
|
||||
restore-keys: |
|
||||
"setupcpp-docker-cache-OS:${{ matrix.os }}"
|
||||
|
|
|
@ -15,7 +15,7 @@ RUN node /setup-cpp.js --compiler llvm --cmake true --ninja true --cppcheck true
|
|||
ENTRYPOINT ["/bin/bash"]
|
||||
|
||||
#### Building (example)
|
||||
FROM setup-cpp AS example-builder
|
||||
FROM base AS example-builder
|
||||
COPY ./dev/cpp_vcpkg_project /home/app
|
||||
WORKDIR /home/app
|
||||
RUN bash -c 'source ~/.cpprc \
|
||||
|
|
|
@ -14,7 +14,7 @@ RUN node /setup-cpp.js --compiler llvm --cmake true --ninja true --cppcheck true
|
|||
ENTRYPOINT ["/bin/bash"]
|
||||
|
||||
#### Building (example)
|
||||
FROM setup-cpp AS example-builder
|
||||
FROM base AS example-builder
|
||||
COPY ./dev/cpp_vcpkg_project /home/app
|
||||
WORKDIR /home/app
|
||||
RUN bash -c 'source ~/.cpprc \
|
||||
|
|
|
@ -5,10 +5,6 @@
|
|||
"repository": "https://github.com/aminya/setup-cpp",
|
||||
"license": "Apache-2.0",
|
||||
"author": "Amin Yahyaabadi",
|
||||
"exports": {
|
||||
"import": "./dist/modern/setup-cpp.mjs",
|
||||
"require": "./dist/legacy/setup-cpp.js"
|
||||
},
|
||||
"main": "dist/legacy/setup-cpp.js",
|
||||
"actions": "./dist/actions/setup-cpp.js",
|
||||
"modern": "./dist/modern/setup-cpp.js",
|
||||
|
|
Loading…
Reference in New Issue