2024-08-11 21:02:39 +02:00
|
|
|
name: Image Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
prepare:
|
|
|
|
name: Prepare to Build
|
|
|
|
runs-on: ubuntu-latest-docker
|
|
|
|
container:
|
|
|
|
image: node:18
|
|
|
|
steps:
|
2024-08-11 21:26:56 +02:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Nix
|
2024-08-11 21:28:10 +02:00
|
|
|
uses: https://github.com/cachix/install-nix-action@v27
|
2024-08-11 21:26:56 +02:00
|
|
|
# with:
|
|
|
|
# # Mostly to avoid GitHub rate limiting
|
|
|
|
# extra_nix_config: |
|
|
|
|
# access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
|
|
|
# # Note: this would only work if Cargo is included in the Nix shell
|
|
|
|
- name: Build release
|
|
|
|
run: nix develop
|