diff --git a/.github/actions/autoroute/action.yaml b/.github/actions/autoroute/action.yaml index 8022b6f..2c731ac 100644 --- a/.github/actions/autoroute/action.yaml +++ b/.github/actions/autoroute/action.yaml @@ -6,8 +6,7 @@ inputs: required: true runs: using: 'docker' - image: 'docker://soundmonster/freerouting_cli:v0.1.0' - entrypoint: '/bin/sh' + image: 'docker://nixos/nix' args: - '-c' - | @@ -18,5 +17,5 @@ runs: echo Cleaning up ergogen/output/pcbs/${board}.ses rm -f ergogen/output/pcbs/${board}.ses fi - java -jar /opt/freerouting_cli.jar -de ergogen/output/pcbs/${board}.dsn -do ergogen/output/pcbs/${board}.ses -dr freerouting/freerouting.rules -mp 35 + nix-shell --argstr board ${board} shell.nix done \ No newline at end of file