mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-22 23:35:51 -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: |
|
default: |
|
||||||
accept-flake-config = true
|
accept-flake-config = true
|
||||||
experimental-features = nix-command flakes pipe-operator
|
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
|
build-dir = /nix/var
|
||||||
stalled-download-timeout = 0
|
stalled-download-timeout = 0
|
||||||
download-attempts = 10
|
download-attempts = 10
|
||||||
|
@ -15,8 +17,8 @@ inputs:
|
||||||
btrfs:
|
btrfs:
|
||||||
description: Use BTRFS to setup RAID0
|
description: Use BTRFS to setup RAID0
|
||||||
default: false
|
default: false
|
||||||
attic_token:
|
# attic_token:
|
||||||
description: token to access attic cache
|
# description: token to access attic cache
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
|
@ -32,11 +34,11 @@ runs:
|
||||||
with:
|
with:
|
||||||
extra-conf: ${{ inputs.nix_conf }}
|
extra-conf: ${{ inputs.nix_conf }}
|
||||||
|
|
||||||
- name: Install and login to attic cache
|
# - name: Install and login to attic cache
|
||||||
shell: bash
|
# shell: bash
|
||||||
run: |
|
# run: |
|
||||||
nix profile install "nixpkgs#attic-client"
|
# nix profile install "nixpkgs#attic-client"
|
||||||
attic login oizys https://attic.dayl.in "${{ inputs.attic_token}}"
|
# attic login oizys https://attic.dayl.in "${{ inputs.attic_token}}"
|
||||||
|
|
||||||
- name: "Show Nix Info"
|
- name: "Show Nix Info"
|
||||||
shell: bash
|
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: daylin-bot/actions/setup@main
|
||||||
- uses: ./.github/actions/nix
|
- 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?
|
# TODO: use this in actions/nix?
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
uses: MrSquaare/ssh-setup-action@v3
|
uses: MrSquaare/ssh-setup-action@v3
|
||||||
|
@ -65,7 +66,6 @@ jobs:
|
||||||
- name: Pre-build oizys
|
- name: Pre-build oizys
|
||||||
run: |
|
run: |
|
||||||
nix build .
|
nix build .
|
||||||
attic push oizys result
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: >
|
run: >
|
||||||
|
|
Loading…
Add table
Reference in a new issue