3535 token : ${{ secrets.GITHUB_TOKEN }}
3636
3737 - name : Setup Nim
38- uses : jiro4989/setup-nim-action@v1
38+ uses : jiro4989/setup-nim-action@v2
3939 with :
4040 nim-version : ${{ matrix.nim }}
4141 repo-token : ${{ secrets.GITHUB_TOKEN }}
@@ -45,18 +45,17 @@ jobs:
4545
4646 - name : Generate bindings
4747 run : |
48- nimble install c2nim
48+ nimble install c2nim -y
4949 nim scripts/generate_bindings.nims
5050
5151 - name : Compile examples
5252 run : |
53- nim c examples/minimal.nim
54- nim c examples/hello_world.nim
55- nim c examples/hello_world_c.nim
56- nim c examples/call_nim_from_js.nim
57- nim c examples/call_js_from_nim.nim
58- nim c examples/public_network_access.nim
59-
60- nim c examples/serve_folder/serve_folder.nim
61- nim c examples/qxexample/qxexample.nim
62- # nim c examples/text_editor/src/text_editor.nim # osfiles/dialog not available in macos
53+ nim c -f examples/minimal.nim
54+ nim c -f examples/hello_world.nim
55+ nim c -f examples/hello_world_c.nim
56+ nim c -f examples/call_nim_from_js.nim
57+ nim c -f examples/call_js_from_nim.nim
58+ nim c -f examples/public_network_access.nim
59+ nim c -f examples/serve_folder/serve_folder.nim
60+ nim c -f examples/qxexample/qxexample.nim
61+ # nim c -f examples/text_editor/src/text_editor.nim # osfiles/dialog not available in macos
0 commit comments