Skip to content

Commit c5d5df5

Browse files
committed
fix: fix packing the executables
1 parent 0b443e8 commit c5d5df5

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/CI.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111

1212
jobs:
1313
Test:
14+
name: ${{ matrix.os }}
1415
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
1516
runs-on: ${{ matrix.os }}
1617
strategy:
@@ -126,6 +127,7 @@ jobs:
126127
./dist/modern/
127128
128129
Docker:
130+
name: ${{ matrix.container }}
129131
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
130132
runs-on: ${{ matrix.os }}
131133
strategy:
@@ -138,9 +140,9 @@ jobs:
138140
pnpm:
139141
- 8
140142
container:
141-
- "./dev/docker/__tests__/arch.dockerfile"
142-
- "./dev/docker/__tests__/fedora.dockerfile"
143-
- "./dev/docker/__tests__/ubuntu.dockerfile"
143+
- "arch.dockerfile"
144+
- "fedora.dockerfile"
145+
- "ubuntu.dockerfile"
144146
steps:
145147
- uses: actions/checkout@v3
146148
with:
@@ -174,4 +176,4 @@ jobs:
174176
- name: Build
175177
id: docker_build
176178
run: |
177-
docker build -f ${{ matrix.container }} -t setup-cpp .
179+
docker build -f ./dev/docker/__tests__/${{ matrix.container }} -t setup-cpp .

dev/scripts/pack-exe.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function main() {
2929
exes.map((exe) =>
3030
execaNode("./node_modules/caxa/build/index.mjs", [
3131
"--input",
32-
"./dist/node16",
32+
"./dist/modern",
3333
"--output",
3434
`./exe/setup-cpp-${process.arch}-${getPlatformName()}${exe}`,
3535
"--",

0 commit comments

Comments
 (0)