mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-22 15:15:50 -06:00
stop with the attic for now
This commit is contained in:
parent
6d0ff7c582
commit
f5badff001
2 changed files with 13 additions and 11 deletions
16
.github/actions/nix/action.yml
vendored
16
.github/actions/nix/action.yml
vendored
|
@ -6,6 +6,8 @@ inputs:
|
|||
default: |
|
||||
accept-flake-config = true
|
||||
experimental-features = nix-command flakes pipe-operator
|
||||
extra-substituters = https://nix-cache.dayl.in
|
||||
extra-trusted-public-keys = nix-cache.dayl.in-1:lj22Sov7m1snupBz/43O1fxyEfy/S7cxBpweD7iREcs
|
||||
build-dir = /nix/var
|
||||
stalled-download-timeout = 0
|
||||
download-attempts = 10
|
||||
|
@ -15,8 +17,8 @@ inputs:
|
|||
btrfs:
|
||||
description: Use BTRFS to setup RAID0
|
||||
default: false
|
||||
attic_token:
|
||||
description: token to access attic cache
|
||||
# attic_token:
|
||||
# description: token to access attic cache
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
|
@ -32,11 +34,11 @@ runs:
|
|||
with:
|
||||
extra-conf: ${{ inputs.nix_conf }}
|
||||
|
||||
- name: Install and login to attic cache
|
||||
shell: bash
|
||||
run: |
|
||||
nix profile install "nixpkgs#attic-client"
|
||||
attic login oizys https://attic.dayl.in "${{ inputs.attic_token}}"
|
||||
# - name: Install and login to attic cache
|
||||
# shell: bash
|
||||
# run: |
|
||||
# nix profile install "nixpkgs#attic-client"
|
||||
# attic login oizys https://attic.dayl.in "${{ inputs.attic_token}}"
|
||||
|
||||
- name: "Show Nix Info"
|
||||
shell: bash
|
||||
|
|
8
.github/workflows/update.yml
vendored
8
.github/workflows/update.yml
vendored
|
@ -42,10 +42,11 @@ jobs:
|
|||
|
||||
- uses: daylin-bot/actions/setup@main
|
||||
- uses: ./.github/actions/nix
|
||||
with:
|
||||
attic_token: ${{ secrets.ATTIC_TOKEN }}
|
||||
|
||||
# need ssh access for `oizys cache --service harmonica`
|
||||
# with:
|
||||
# attic_token: ${{ secrets.ATTIC_TOKEN }}
|
||||
#
|
||||
# need ssh access for `oizys cache --service store`
|
||||
# TODO: use this in actions/nix?
|
||||
- name: Setup SSH
|
||||
uses: MrSquaare/ssh-setup-action@v3
|
||||
|
@ -65,7 +66,6 @@ jobs:
|
|||
- name: Pre-build oizys
|
||||
run: |
|
||||
nix build .
|
||||
attic push oizys result
|
||||
|
||||
- name: Build
|
||||
run: >
|
||||
|
|
Loading…
Add table
Reference in a new issue