mirror of
https://github.com/zhaofengli/attic.git
synced 2025-03-05 08:17:05 +00:00
.github/book: Work around PATH issue for now
This commit is contained in:
parent
d93a0f587c
commit
f4e52f9ad0
1 changed files with 2 additions and 0 deletions
2
.github/workflows/book.yml
vendored
2
.github/workflows/book.yml
vendored
|
@ -32,6 +32,7 @@ jobs:
|
|||
|
||||
- name: Configure Attic
|
||||
run: |
|
||||
export PATH=$HOME/.nix-profile/bin:$PATH # FIXME
|
||||
attic login staging https://staging.attic.rs/ "$ATTIC_TOKEN"
|
||||
attic use attic-ci
|
||||
env:
|
||||
|
@ -55,6 +56,7 @@ jobs:
|
|||
# TODO: Just take a diff of the list of store paths, also abstract all of this out
|
||||
- name: Push build artifacts
|
||||
run: |
|
||||
export PATH=$HOME/.nix-profile/bin:$PATH # FIXME
|
||||
if [ -n "$ATTIC_TOKEN" ]; then
|
||||
nix build .#book --no-link --print-out-paths -L | \
|
||||
xargs attic push attic-ci
|
||||
|
|
Loading…
Add table
Reference in a new issue