Skip to content

Update packages

Update packages #611

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@v3
with:
token: ${{ secrets.PAT }}
- uses: DeterminateSystems/nix-installer-action@main
- uses: cachix/cachix-action@v12
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
- 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