Skip to content

Fix build (#623)

Fix build (#623) #94

Workflow file for this run

name: "Update cachix cache for Orchestrating Microbiome Analysis environment"
on:
push:
branches:
- devel
- RELEASE_**
jobs:
r-update-cachix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=https://github.com/rstats-on-nix/nixpkgs/archive/0a6b0ea0f895208a490ec7fb3fe63232117511b7.tar.gz
- uses: cachix/cachix-action@v14
with:
name: oma
authToken: '${{ secrets.CACHIX_AUTH }}'
- run: |
if [ "$RUNNER_OS" == "Linux" ]; then
nix-build --argstr system x86_64-linux
nix-build --argstr system aarch64-linux
else
nix-build
fi
- run: nix-store -qR --include-outputs $(nix-instantiate default.nix) | cachix push oma
- run: nix-shell --run "echo OK"