Skip to content

Commit

Permalink
attempt to add an action
Browse files Browse the repository at this point in the history
  • Loading branch information
majiru committed Feb 18, 2025
1 parent d5b6c0c commit b48c017
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: run
on:
workflow_dispatch:

jobs:
basic-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

Check warning on line 11 in .github/workflows/run.yml

View workflow job for this annotation

GitHub Actions / basic-run

Magic Nix Cache is deprecated

Magic Nix Cache has been deprecated due to a change in the underlying GitHub APIs and will stop working on 1 February 2025. To continue caching Nix builds in GitHub Actions, use FlakeHub Cache instead. Replace... - uses: DeterminateSystems/magic-nix-cache-action@main ...with... - uses: DeterminateSystems/flakehub-cache-action@main For more details: https://dtr.mn/magic-nix-cache-eol
- name: basic
run: |
nix run '.#setup-vm'
response=$(echo 'echo $sysname' | nix run '.#run-vm' -- -nogui)
echo $response
if [ $response != "cirno" ]; then exit 12; fi

0 comments on commit b48c017

Please sign in to comment.