remove redundant copy and just use path
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
d68268da2e
commit
1f3b91accd
1 changed files with 3 additions and 5 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
||||||
echo 'source $HOME/.nix-profile/share/nix-direnv/direnvrc' > "$HOME/.direnvrc"
|
echo 'source $HOME/.nix-profile/share/nix-direnv/direnvrc' > "$HOME/.direnvrc"
|
||||||
|
|
||||||
- name: Install `direnv` and `nix-direnv`
|
- name: Install `direnv` and `nix-direnv`
|
||||||
run: nix-env -f "<nixpkgs>" -i direnv -i nix-direnv
|
run: nix-env -f "<nixpkgs>" -iA direnv -iA nix-direnv
|
||||||
|
|
||||||
- name: Pop/push downloaded crate cache
|
- name: Pop/push downloaded crate cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
@ -73,23 +73,21 @@ jobs:
|
||||||
- name: Build static-x86_64-unknown-linux-musl
|
- name: Build static-x86_64-unknown-linux-musl
|
||||||
run: |
|
run: |
|
||||||
./bin/nix-build-and-cache .#static-x86_64-unknown-linux-musl
|
./bin/nix-build-and-cache .#static-x86_64-unknown-linux-musl
|
||||||
cp result/bin/conduit conduit
|
|
||||||
|
|
||||||
- name: Upload artifact static-x86_64-unknown-linux-musl
|
- name: Upload artifact static-x86_64-unknown-linux-musl
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: static-x86_64-unknown-linux-musl
|
name: static-x86_64-unknown-linux-musl
|
||||||
path: conduit
|
path: result/bin/conduit
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Build static-aarch64-unknown-linux-musl
|
- name: Build static-aarch64-unknown-linux-musl
|
||||||
run: |
|
run: |
|
||||||
./bin/nix-build-and-cache .#static-aarch64-unknown-linux-musl
|
./bin/nix-build-and-cache .#static-aarch64-unknown-linux-musl
|
||||||
cp result/bin/conduit conduit
|
|
||||||
|
|
||||||
- name: Upload artifact static-aarch64-unknown-linux-musl
|
- name: Upload artifact static-aarch64-unknown-linux-musl
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: static-aarch64-unknown-linux-musl
|
name: static-aarch64-unknown-linux-musl
|
||||||
path: conduit
|
path: result/bin/conduit
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
Loading…
Add table
Reference in a new issue