Skip to content

Commit

Permalink
WIP: try self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
t184256 committed Mar 5, 2024
1 parent 2f97777 commit 181c241
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/fakedroid-odt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,12 @@ on:
- cron: 0 0 * * 1
jobs:
fakedroid-odt-channel:
runs-on: ubuntu-latest
runs-on: self-hosted

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install nix
uses: cachix/install-nix-action@v25

- name: Setup cachix
uses: cachix/cachix-action@v14
with:
name: nix-on-droid
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"

- name: Initialize fakedroid for channel setup
run: nix run --impure .#fakedroid -- echo INIT

Expand All @@ -35,21 +26,12 @@ jobs:
run: nix run --impure .#fakedroid -- nix-shell -p cachix --run 'nix --extra-experimental-features nix-command path-info --all | cachix push nix-on-droid'

fakedroid-flakes:
runs-on: ubuntu-latest
runs-on: self-hosted

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install nix
uses: cachix/install-nix-action@v25

- name: Setup cachix
uses: cachix/cachix-action@v14
with:
name: nix-on-droid
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"

- name: Initialize fakedroid for flake setup
run: USE_FLAKE=1 nix run --impure .#fakedroid -- echo INIT

Expand Down

0 comments on commit 181c241

Please sign in to comment.