Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvapiav committed Mar 7, 2024
1 parent 92612e6 commit 5e054cf
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

build_matrix:
name: "build"
needs: [build-yml-check] # [authorize, build-yml-check]
needs: [build-yml-check]
runs-on: ubuntu-latest
timeout-minutes: 360
strategy:
Expand Down Expand Up @@ -73,30 +73,7 @@ jobs:
uses: cachix/install-nix-action@v24
with:
extra_nix_config: |
# trusted-public-keys = ghaf-dev.cachix.org-1:S3M8x3no8LFQPBfHw1jl6nmP8A7cVWKntoMKN3IsEQY= cache.vedenemo.dev:8NhplARANhClUSWJyLVk4WMyy1Wb4rhmWW2u8AejH9E= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
# substituters = https://ghaf-dev.cachix.org?priority=20 https://cache.vedenemo.dev https://cache.nixos.org
system-features = nixos-test benchmark big-parallel kvm
# builders-use-substitutes = true
# builders = @/etc/nix/machines
# - name: Configure remote builder
# run: |
# sudo sh -c "umask 377; echo '${{ secrets.BUILDER_SSH_KEY }}' >/etc/nix/id_builder_key"
# sudo sh -c "echo '${{ vars.BUILDER_SSH_KNOWN_HOST }}' >>/etc/ssh/ssh_known_hosts"
# sudo sh -c "echo '${{ vars.BUILDER_MACHINE_CONFIG }}' >/etc/nix/machines"
# - name: Install cachix
# run: |
# nix-env -iA cachix -f https://cachix.org/api/v1/install
# echo "Using cachix version:"
# cachix --version
- name: Build ${{ matrix.arch }}.${{ matrix.target }}
run: |
# if [ "${{ secrets.CACHIX_AUTH_TOKEN }}" == "" ]; then
# echo "::error::Missing CACHIX_AUTH_TOKEN, will not build"
# exit 1
# else
# echo "Running nix build, with cachix watch-exec"
# cachix authtoken ${{ secrets.CACHIX_AUTH_TOKEN }}
# cachix watch-exec ghaf-dev -- \
# nix build .#packages.${{ matrix.arch }}.${{ matrix.target }}
# fi
nix build .#packages.${{ matrix.arch }}.${{ matrix.target }}

0 comments on commit 5e054cf

Please sign in to comment.