Skip to content

Update packages

Update packages #660

Workflow file for this run

name: Update packages
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # daily
jobs:
update:
if: github.repository == 'fufexan/nix-gaming'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- uses: DeterminateSystems/nix-installer-action@main
- uses: cachix/cachix-action@v15
with:
name: nix-gaming
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix run nixpkgs#npins update; pkgs/faf-client/update.sh; pkgs/faf-client/update-src.sh; pkgs/osu-lazer-bin/update.sh; pkgs/osu-stable/update.sh; pkgs/wine/update-wine-ge.sh; pkgs/proton-osu-bin/update.sh
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update packages"
push_options: '--force'
build:
needs: update
uses: ./.github/workflows/build.yml
secrets: inherit