diff --git a/.github/workflows/build-sm64.yml b/.github/workflows/build-sm64.yml index 1080ab8..80ddec5 100644 --- a/.github/workflows/build-sm64.yml +++ b/.github/workflows/build-sm64.yml @@ -15,12 +15,14 @@ jobs: uses: actions/checkout@v4 - name: Install Nix and Devenv - uses: cachix/install-nix-action@v26 - - - name: Install Devenv - run: | - nix profile install nixpkgs#devenv - + uses: cachix/install-nix-action@v26 + + - uses: cachix/install-nix-action@v26 + + - uses: cachix/cachix-action@v14 + with: + name: devenv + - name: Build the Devenv shell and run any pre-commit hooks run: devenv test @@ -28,10 +30,12 @@ jobs: run: devenv shell hello - name: Run a multi-line command in the Devenv shell - shell: devenv shell bash -- -e {0} + shell: bash run: | + devenv shell bash -- -e <