mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-12 21:06:23 +02:00
Compress nix store to artifact filenames with special characters
This commit is contained in:
parent
268d668107
commit
a969163f79
1 changed files with 9 additions and 1 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -61,13 +61,17 @@ jobs:
|
||||||
- name: Populate `/nix/store`
|
- name: Populate `/nix/store`
|
||||||
run: nix develop --command true
|
run: nix develop --command true
|
||||||
|
|
||||||
|
- name: Package `/nix/store` for Artifact
|
||||||
|
run: |
|
||||||
|
tar -czf nix-store.tar.gz /nix/store
|
||||||
|
|
||||||
# Store the build environment in an artifact
|
# Store the build environment in an artifact
|
||||||
- name: Cache build environment
|
- name: Cache build environment
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build-environment
|
name: build-environment
|
||||||
path: |
|
path: |
|
||||||
/nix/store
|
nix-store.tar.gz
|
||||||
~/.cargo
|
~/.cargo
|
||||||
$HOME/.direnvrc
|
$HOME/.direnvrc
|
||||||
/etc/nix/nix.conf
|
/etc/nix/nix.conf
|
||||||
|
@ -93,6 +97,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: build-environment
|
name: build-environment
|
||||||
|
|
||||||
|
- name: Extract Nix Store Archive
|
||||||
|
run: |
|
||||||
|
tar -xzf nix-store.tar.gz -C /
|
||||||
|
|
||||||
- name: Sync repository
|
- name: Sync repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue