Skip to content

Generate Installer Script #6069

Generate Installer Script

Generate Installer Script #6069

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 }}