mirror of https://github.com/aminya/setup-cpp
fix: fix packing the executables
This commit is contained in:
parent
0b443e82cc
commit
c5d5df5b33
|
@ -11,6 +11,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Test:
|
Test:
|
||||||
|
name: ${{ matrix.os }}
|
||||||
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
|
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -126,6 +127,7 @@ jobs:
|
||||||
./dist/modern/
|
./dist/modern/
|
||||||
|
|
||||||
Docker:
|
Docker:
|
||||||
|
name: ${{ matrix.container }}
|
||||||
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
|
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -138,9 +140,9 @@ jobs:
|
||||||
pnpm:
|
pnpm:
|
||||||
- 8
|
- 8
|
||||||
container:
|
container:
|
||||||
- "./dev/docker/__tests__/arch.dockerfile"
|
- "arch.dockerfile"
|
||||||
- "./dev/docker/__tests__/fedora.dockerfile"
|
- "fedora.dockerfile"
|
||||||
- "./dev/docker/__tests__/ubuntu.dockerfile"
|
- "ubuntu.dockerfile"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -174,4 +176,4 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
id: docker_build
|
id: docker_build
|
||||||
run: |
|
run: |
|
||||||
docker build -f ${{ matrix.container }} -t setup-cpp .
|
docker build -f ./dev/docker/__tests__/${{ matrix.container }} -t setup-cpp .
|
||||||
|
|
|
@ -29,7 +29,7 @@ function main() {
|
||||||
exes.map((exe) =>
|
exes.map((exe) =>
|
||||||
execaNode("./node_modules/caxa/build/index.mjs", [
|
execaNode("./node_modules/caxa/build/index.mjs", [
|
||||||
"--input",
|
"--input",
|
||||||
"./dist/node16",
|
"./dist/modern",
|
||||||
"--output",
|
"--output",
|
||||||
`./exe/setup-cpp-${process.arch}-${getPlatformName()}${exe}`,
|
`./exe/setup-cpp-${process.arch}-${getPlatformName()}${exe}`,
|
||||||
"--",
|
"--",
|
||||||
|
|
Loading…
Reference in New Issue