From 1f3b91accd1b96d184a65690fa8eed38c6172c2c Mon Sep 17 00:00:00 2001 From: strawberry Date: Mon, 29 Jan 2024 19:06:20 -0500 Subject: [PATCH] remove redundant copy and just use path Signed-off-by: strawberry --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 773d8282..87145977 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: echo 'source $HOME/.nix-profile/share/nix-direnv/direnvrc' > "$HOME/.direnvrc" - name: Install `direnv` and `nix-direnv` - run: nix-env -f "" -i direnv -i nix-direnv + run: nix-env -f "" -iA direnv -iA nix-direnv - name: Pop/push downloaded crate cache uses: actions/cache@v4 @@ -73,23 +73,21 @@ jobs: - name: Build static-x86_64-unknown-linux-musl run: | ./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 uses: actions/upload-artifact@v4 with: name: static-x86_64-unknown-linux-musl - path: conduit + path: result/bin/conduit if-no-files-found: error - name: Build static-aarch64-unknown-linux-musl run: | ./bin/nix-build-and-cache .#static-aarch64-unknown-linux-musl - cp result/bin/conduit conduit - name: Upload artifact static-aarch64-unknown-linux-musl uses: actions/upload-artifact@v4 with: name: static-aarch64-unknown-linux-musl - path: conduit + path: result/bin/conduit if-no-files-found: error \ No newline at end of file