setup steps before install nix
This commit is contained in:
@@ -11,6 +11,11 @@ jobs:
|
|||||||
name: build hive configuration
|
name: build hive configuration
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- run: mkdir -p /var/secrets/
|
||||||
|
- run: echo ${{ secrets.CACHE_PRIVKEY }} > /var/secrets/cache_privkey
|
||||||
|
- run: cp ./scripts/upload-to-cache.sh /etc/nix/
|
||||||
|
- run: chmod +x /etc/nix/upload-to-cache.sh
|
||||||
- uses: cachix/install-nix-action@v31
|
- uses: cachix/install-nix-action@v31
|
||||||
with:
|
with:
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
@@ -27,8 +32,4 @@ jobs:
|
|||||||
- uses: http://github.com/cachix/cachix-action@v16
|
- uses: http://github.com/cachix/cachix-action@v16
|
||||||
with:
|
with:
|
||||||
name: colmena
|
name: colmena
|
||||||
- run: mkdir -p /var/secrets/
|
|
||||||
- run: echo ${{ secrets.CACHE_PRIVKEY }} > /var/secrets/cache_privkey
|
|
||||||
- run: cp ./scripts/upload-to-cache.sh /etc/nix/
|
|
||||||
- run: chmod +x /etc/nix/upload-to-cache.sh
|
|
||||||
- run: nix run .#colmena apply
|
- run: nix run .#colmena apply
|
||||||
|
|||||||
Reference in New Issue
Block a user