add nix build with cache to release workflow

This commit is contained in:
Dmitriy Kholkin 2024-02-02 21:14:51 +03:00
parent 210ec4cb41
commit 592e45f731
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2

View File

@ -52,3 +52,15 @@ jobs:
with:
bin: hoyolab-claim-bot
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