add nix build with cache to release workflow
This commit is contained in:
parent
210ec4cb41
commit
592e45f731
12
.github/workflows/release.yaml
vendored
12
.github/workflows/release.yaml
vendored
@ -52,3 +52,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
bin: hoyolab-claim-bot
|
bin: hoyolab-claim-bot
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
nix-cachix:
|
||||||
|
needs: check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: nixbuild/nix-quick-install-action@v26
|
||||||
|
- uses: cachix/cachix-action@v14
|
||||||
|
with:
|
||||||
|
name: ataraxiadev-foss
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
- run: nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached -f .#packages.x86_64-linux.hoyolab-claim-bot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user