Generate Installer Script #5980
This file contains 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: Generate Installer Script | |
on: | |
schedule: | |
- cron: '10 * * * *' | |
workflow_dispatch: # Allows manual triggering of the workflow | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
- name: Download Installer | |
run: nix-shell -p python3Packages.requests --run "python assemble_installer.py" -I nixpkgs=channel:nixos-23.11 | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "Update installer script" | |
commit_user_name: "GitHub Actions" | |
branch: prerelease | |
# assemble_installer.py already does a fetch and checkout | |
skip_fetch: true | |
skip_checkout: true |