setup steps before install nix
This commit is contained in:
@@ -11,6 +11,11 @@ jobs:
|
||||
name: build hive configuration
|
||||
runs-on: ubuntu-22.04
|
||||
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
|
||||
with:
|
||||
extra_nix_config: |
|
||||
@@ -27,8 +32,4 @@ jobs:
|
||||
- uses: http://github.com/cachix/cachix-action@v16
|
||||
with:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user