mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-12 05:16:30 +03:00
Fix root attribute in GitHub action.
This commit is contained in:
parent
59b9f48433
commit
e249b9e870
2 changed files with 9 additions and 3 deletions
|
@ -1141,9 +1141,9 @@ function run() {
|
|||
const parallelism = core.getInput('parallelism');
|
||||
const cachixCache = core.getInput('cachix-cache');
|
||||
const cachixSigningKey = core.getInput('cachix-signing-key');
|
||||
//await cachix.install(nixpkgs)
|
||||
yield cachix.install(nixpkgs);
|
||||
core.startGroup(`Setting up Cachix cache: ${cachixCache}`);
|
||||
//await cachix.use(cachixCache)
|
||||
yield cachix.use(cachixCache);
|
||||
if (cachixSigningKey !== "") {
|
||||
core.exportVariable('CACHIX_SIGNING_KEY', cachixSigningKey);
|
||||
}
|
||||
|
|
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
|
@ -2,11 +2,17 @@ name: "Build"
|
|||
on:
|
||||
push:
|
||||
jobs:
|
||||
tests:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
distro:
|
||||
- melodic
|
||||
- dashing
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: cachix/install-nix-action@v6
|
||||
- uses: ./.github/actions/nix-ros-build-action
|
||||
with:
|
||||
root-attribute: '${{ matrix.distro }}'
|
||||
cachix-signing-key: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue