Fix the command-line arguments for tar compress
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
This commit is contained in:
parent
37e2063b81
commit
9ee6b944bf
3
.github/workflows/macos.yml
vendored
3
.github/workflows/macos.yml
vendored
@ -153,8 +153,9 @@ jobs:
|
||||
CORES_TAR_GZ="cores-${{ github.run_id }}-${{ steps.job_id.outputs.result }}.tar.gz"
|
||||
echo "test: $CORES_TAR_GZ"
|
||||
if [ -n "$(ls /cores)" ]; then
|
||||
tar czf /cores "$CORES_TAR_GZ"
|
||||
tar czf "$CORES_TAR_GZ" /cores
|
||||
aws s3 cp "$CORES_TAR_GZ" "s3://ruby-core-files/$CORES_TAR_GZ"
|
||||
rm "$CORES_TAR_GZ"
|
||||
fi
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.RUBY_CORE_FILES_AWS_ACCESS_KEY_ID }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user