Commit e04e12eb authored by nanahira's avatar nanahira

Update .gitlab-ci.yml

parent 0fbdca26
Pipeline #38936 passed with stage
in 5 minutes and 5 seconds
stages:
- pack
- deploy
variables:
GIT_DEPTH: "1"
.pack:
stage: pack
tags:
- linux
variables:
DIR_NAME: ''
script:
- mkdir dist
- tar -I 'zstd -T0' -cf dist/${DIR_NAME}.tar.zst ${DIR_NAME}
artifacts:
paths:
- dist/
pack_windows:
extends: .pack
variables:
DIR_NAME: 'StandaloneWindows64'
pack_linux:
extends: .pack
variables:
DIR_NAME: 'StandaloneLinux64'
pack_macos:
extends: .pack
variables:
DIR_NAME: 'StandaloneOSX'
upload_to_minio:
stage: deploy
tags:
- linux
dependencies:
- pack_windows
- pack_linux
- pack_macos
dependencies: []
script:
- mkdir -p dist
- |
set -x
set -o errexit
directories=(StandaloneWindows64 StandaloneLinux64 StandaloneOSX)
for DIR_NAME in "${directories[@]}"; do
if [ -d "$DIR_NAME" ]; then
tar -I 'zstd -T0' -cf "dist/${DIR_NAME}.tar.zst" "$DIR_NAME"
else
echo "Warning: Directory ${DIR_NAME} does not exist, skipping."
fi
done
- aws s3 --endpoint=https://minio.moenext.com:9000 sync --delete dist/ s3://mycard/mdpro3-assetbundles
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment