mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-12 17:06:24 +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`
|
||||
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
|
||||
- name: Cache build environment
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-environment
|
||||
path: |
|
||||
/nix/store
|
||||
nix-store.tar.gz
|
||||
~/.cargo
|
||||
$HOME/.direnvrc
|
||||
/etc/nix/nix.conf
|
||||
|
@ -93,6 +97,10 @@ jobs:
|
|||
with:
|
||||
name: build-environment
|
||||
|
||||
- name: Extract Nix Store Archive
|
||||
run: |
|
||||
tar -xzf nix-store.tar.gz -C /
|
||||
|
||||
- name: Sync repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue