Generate Installer Script #6063
Workflow file for this run
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: | |
workflow_dispatch: # Allows manual triggering of the workflow | |
inputs: | |
testing_hydra_eval_id: | |
description: "Eval ID of Hydra job to use artifacts from for testing" | |
required: false | |
default: "" | |
jobs: | |
create-draft-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
- name: Create draft release | |
# The script also depends on gh and git but those are both pre-installed on the runner | |
run: nix-shell -p python3Packages.requests --run "python assemble_installer.py ${{ github.event.inputs.testing_hydra_eval_id }}" -I nixpkgs=channel:nixos-23.11 | |
env: | |
GH_TOKEN: ${{ github.token }} |