Skip to content

Commit

Permalink
ci: fixed binary location colision with directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbraun89 authored Mar 12, 2023
1 parent bba6246 commit cf8d76b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit cf8d76b

Please sign in to comment.