feature/public-wifi #98
15
.github/workflows/flake-update.yml
vendored
15
.github/workflows/flake-update.yml
vendored
@ -11,15 +11,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Get Latest Determinate Nix Installer binary
|
||||||
|
id: latest-installer
|
||||||
|
uses: sigyl-actions/gitea-action-get-latest-release@main
|
||||||
|
with:
|
||||||
|
repository: ahuston-0/determinate-nix-installer
|
||||||
- name: Install nix
|
- name: Install nix
|
||||||
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||||
- name: Setup Attic cache
|
|
||||||
uses: ryanccn/attic-action@v0
|
|
||||||
with:
|
with:
|
||||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
source-url: https://nayeonie.com/ahuston-0/determinate-nix-mirror/releases/download/${{ steps.latest-installer.outputs.release }}/nix-installer-x86_64-linux
|
||||||
cache: ${{ secrets.ATTIC_CACHE }}
|
|
||||||
token: ${{ secrets.ATTIC_TOKEN }}
|
|
||||||
skip-push: "true"
|
|
||||||
- name: Get pre-snapshot of evaluations
|
- name: Get pre-snapshot of evaluations
|
||||||
run: nix ./utils/eval-to-drv.sh pre
|
run: nix ./utils/eval-to-drv.sh pre
|
||||||
- name: Update flake.lock
|
- name: Update flake.lock
|
||||||
@ -100,9 +100,6 @@ jobs:
|
|||||||
pr-labels: | # Labels to be set on the PR
|
pr-labels: | # Labels to be set on the PR
|
||||||
dependencies
|
dependencies
|
||||||
automated
|
automated
|
||||||
- name: Push to Attic
|
|
||||||
run: nix ./utils/attic-push.bash
|
|
||||||
continue-on-error: true
|
|
||||||
- name: Print PR number
|
- name: Print PR number
|
||||||
run: |
|
run: |
|
||||||
echo "Pull request number is ${{ steps.create-pull-request.outputs.pull-request-number }}."
|
echo "Pull request number is ${{ steps.create-pull-request.outputs.pull-request-number }}."
|
||||||
|
@ -34,6 +34,9 @@
|
|||||||
bucket = "cache-nix-dot";
|
bucket = "cache-nix-dot";
|
||||||
endpoint = "https://minio.nayeonie.com";
|
endpoint = "https://minio.nayeonie.com";
|
||||||
};
|
};
|
||||||
|
garbage-collection = {
|
||||||
|
interval = "5 minutes";
|
||||||
|
};
|
||||||
|
|
||||||
# Warning: If you change any of the values here, it will be
|
# Warning: If you change any of the values here, it will be
|
||||||
# difficult to reuse existing chunks for newly-uploaded NARs
|
# difficult to reuse existing chunks for newly-uploaded NARs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user