Bump nixpkgs from 0e251e2 to 0ae2bc1 (#993)
#1142
This file contains hidden or 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
| name: Cachix | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| packages: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: cachix/install-nix-action@v31 | |
| with: | |
| github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Cachix | |
| uses: cachix/cachix-action@v17 | |
| with: | |
| name: accentor | |
| authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
| skipPush: true | |
| - run: nix build -L --no-link .#accentor-api | |
| - run: nix build -L --no-link .#accentor-api.env | |
| - run: nix eval --json ".#accentor-api.outPath" | sed 's/"\(.*\)"/\1/' | cachix push accentor | |
| - run: nix eval --json ".#accentor-api.env.outPath" | sed 's/"\(.*\)"/\1/' | cachix push accentor | |
| shell: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos-latest, ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: cachix/install-nix-action@v31 | |
| with: | |
| github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Cachix | |
| uses: cachix/cachix-action@v17 | |
| with: | |
| name: accentor | |
| authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
| skipPush: true | |
| - run: nix build -L --no-link .#devShells.$(nix eval --impure --expr "builtins.currentSystem").accentor-api | |
| - run: nix eval --json ".#devShells.$(nix eval --impure --expr 'builtins.currentSystem').accentor-api.outPath" | sed 's/"\(.*\)"/\1/' | cachix push accentor |