Skip to content

Commit 80bd313

Browse files
committed
update matrix build
1 parent b9bc167 commit 80bd313

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,14 @@ jobs:
2222
matrix:
2323
os:
2424
- runner: ubuntu-latest
25+
folder: linux-x64
26+
binary: transport-aot-example
2527
- runner: macos-latest
28+
folder: osx-arm64
29+
binary: transport-aot-example
2630
- runner: windows-latest
31+
folder: windows-x64
32+
binary: transport-aot-example.exe
2733
steps:
2834
- uses: actions/checkout@v4
2935

@@ -35,10 +41,11 @@ jobs:
3541
run: dotnet publish examples/transport-aot-example
3642

3743
- name: ls publish directory
38-
run: ls -al ./examples/transport-aot-example/bin/Release/net8.0
44+
shell: bash
45+
run: ls -al ./examples/transport-aot-example/bin/Release/net8.0/${{ matrix.os.folder }}/
3946

4047
- name: Invoke AOT
41-
run: ./examples/transport-aot-example/bin/Release/net8.0/osx-arm64/transport-aot-example
48+
run: ./examples/transport-aot-example/bin/Release/net8.0/${{ matrix.os.folder }}/${{ matrix.os.binary }}
4249

4350
build:
4451
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)