From cf8d76bce7c0ce259d54ffb63b55c01cc6f0b6fa Mon Sep 17 00:00:00 2001 From: Daniel Braun Date: Sun, 12 Mar 2023 13:14:23 +0000 Subject: [PATCH] ci: fixed binary location colision with directory name --- .github/workflows/release-publish.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-publish.yaml b/.github/workflows/release-publish.yaml index 418a2854..52ab4c32 100644 --- a/.github/workflows/release-publish.yaml +++ b/.github/workflows/release-publish.yaml @@ -62,11 +62,11 @@ jobs: pyoxidizer analyze "$oxidizer_location/build/$target_triple/release/exe/$binary_name" - mv "$oxidizer_location/build/$target_triple/release/exe/$binary_name" $GITHUB_WORKSPACE/$binary_name - tar -zcvf $GITHUB_WORKSPACE/$binary_name_nonupx $GITHUB_WORKSPACE/$binary_name + mv "$oxidizer_location/build/$target_triple/release/exe/$binary_name" $GITHUB_WORKSPACE/build/$binary_name + tar -zcvf $GITHUB_WORKSPACE/build/$binary_name_nonupx $GITHUB_WORKSPACE/build/$binary_name - echo "binary_location=$GITHUB_WORKSPACE/$binary_name" >> "$GITHUB_OUTPUT" - echo "binary_location_nonupx=$GITHUB_WORKSPACE/$binary_name_nonupx" >> "$GITHUB_OUTPUT" + echo "binary_location=$GITHUB_WORKSPACE/build/$binary_name" >> "$GITHUB_OUTPUT" + echo "binary_location_nonupx=$GITHUB_WORKSPACE/build/$binary_name_nonupx" >> "$GITHUB_OUTPUT" - name: Strip Binary run: strip --strip-all ${{ steps.run_pyoxidizer.outputs.binary_location }}