Created
October 28, 2022 19:18
-
-
Save lucperkins/8c2b65f0bf7e18572b816919b2a90589 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v17 | |
with: | |
# Mostly to avoid GitHub rate limiting | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
# Note: this would only work if Cargo is included in the Nix shell | |
- name: Build release | |
run: nix develop --command cargo build --release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment