yaml lame that that worked

This commit is contained in:
Arya Irani 2024-02-15 06:39:18 -05:00
parent f747904fa4
commit a662a725c2
2 changed files with 12 additions and 4 deletions

View File

@ -445,10 +445,11 @@ jobs:
if: steps.jit_bin_exists.outputs.files_exists == 'false'
shell: bash
run: |
cp -R scheme-libs/racket/* ${jit_src_scheme//\\//} # replace \\ with / (on windows)
raco pkg install --auto --skip-installed ${{ env.jit_src_scheme }}/unison
raco exe ${{ env.jit_src_scheme }}/unison-runtime.rkt
raco distribute ${{ env.jit_bin }} ${{ env.jit_src_scheme }}/unison-runtime
jit_src_scheme_adjusted="${jit_src_scheme//\\//}" # replace \\ with / (on windows)
cp -R scheme-libs/racket/* "$jit_src_scheme_adjusted"
raco pkg install --auto --skip-installed "$jit_src_scheme_adjusted"/unison
raco exe "$jit_src_scheme_adjusted"/unison-runtime.rkt
raco distribute ${{ env.jit_bin }} "$jit_src_scheme_adjusted"/unison-runtime
- name: save jit binary
if: steps.jit_bin_exists.outputs.files_exists == 'false'

View File

@ -0,0 +1,7 @@
## Some things I wish I'd known about Github Actions
You can't have an `env:` key defined in terms of another `env` key, but
You can't define a `matrix` at the top level, it has to be defined within a `job`'s `strategy`.
Windows doesn't seem to honor the `default: run: shell:` setting, so you need to set the `shell:` on `run:` manually?