### Install Project Dependencies Source: https://github.com/cachix/cachix-action/blob/master/CONTRIBUTING.md Run this command within the devenv shell to install all project dependencies using pnpm. Ensure you are in the development environment before executing. ```console pnpm install ``` -------------------------------- ### Configure Write Cache with Auth Token Source: https://github.com/cachix/cachix-action/blob/master/README.md This setup allows pushing build results to a Cachix cache. It requires an authentication token, typically stored as a GitHub secret, for private cache access or to push to any cache. ```yaml - uses: cachix/cachix-action@v17 with: name: mycache authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" ``` -------------------------------- ### Create and Push New Tag Source: https://github.com/cachix/cachix-action/blob/master/RELEASE.md Use these commands to create a new Git tag for the release and push it to the remote repository. ```console git tag v17 git push origin v17 ``` -------------------------------- ### Build the Action Source: https://github.com/cachix/cachix-action/blob/master/CONTRIBUTING.md Execute this command to build the Cachix Action. This process compiles the necessary code and prepares the action for testing or deployment. ```console pnpm build ``` -------------------------------- ### Enter Development Shell Source: https://github.com/cachix/cachix-action/blob/master/CONTRIBUTING.md Use this command to enter the development shell managed by devenv. This environment provides all necessary tools and configurations for development. ```console devenv shell ``` -------------------------------- ### Configure Write Cache with Signing Key Source: https://github.com/cachix/cachix-action/blob/master/README.md To push build results and sign store paths for self-signed caches, provide both the authentication token and the signing key. Both are typically managed as GitHub secrets. ```yaml - uses: cachix/cachix-action@v17 with: name: mycache authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}" ``` -------------------------------- ### Update Major Version Tag Source: https://github.com/cachix/cachix-action/blob/master/RELEASE.md After a successful release, use these commands to force-update the major version tag to point to the latest commit. ```console git tag -fa v17 git push origin v17 --force ``` -------------------------------- ### Configure Read-Only Cachix Cache Source: https://github.com/cachix/cachix-action/blob/master/README.md Use this configuration to pull packages from a specified Cachix cache without pushing any build results. Ensure the cache name is correctly set. ```yaml - uses: cachix/cachix-action@v17 with: name: mycache ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.