message: upload built package after done
diff: @@ -44,19 +44,25 @@ jobs:
  - cd "$CLONEDIR/../packages"
  - 7z a CesiumForUnreal-${CESIUM_UNREAL_VERSION}.zip CesiumForUnreal/
  - aws s3 cp CesiumForUnreal-${CESIUM_UNREAL_VERSION}.zip s3://builds-cesium-unreal/
  - - export PACKAGE_LINK=$(aws --region us-east-1 s3 presign s3://builds-cesium-unreal/CesiumForUnreal-${CESIUM_UNREAL_VERSION}.zip --expires-in 315360000)
  + - export PACKAGE_LINK=$(aws --region us-east-1 s3 presign s3://builds-cesium-unreal/CesiumForUnreal-${TRAVIS_OS_NAME}-${CESIUM_UNREAL_VERSION}.zip --expires-in 315360000)
  - http POST "https://api.github.com/repos/${TRAVIS_REPO_SLUG}/statuses/${TRAVIS_COMMIT}" "Authorization:token ${GITHUB_TOKEN}" state=success context=plugin-package "target_url=${PACKAGE_LINK}" --ignore-stdin
  env: PATH=/c/Python39:/c/Python39/Scripts:$PATH
  - name: MacOS
  os: osx
  osx_image: xcode11.4.1
  + addons:
  + homebrew:
  + packages:
  + - p7zip
  install:
  - python -m pip install --upgrade pip
  - pip3 install --upgrade pip
  - pip3 install awscli
  + - pip3 install httpie
  - chmod +x "./travis/travis-get-ue.sh"
  - "./travis/travis-get-ue.sh"
  before_script:
  + - export CESIUM_UNREAL_VERSION=$(git describe)
  - mkdir -p extern/build
  - cd extern/build
  - cmake .. -DCMAKE_BUILD_TYPE=Release
  @@ -67,3 +73,8 @@ jobs:
  - export CLONEDIR=$PWD
  - cd $HOME/UE_4.26/Users/Shared/Epic\ Games/UE_4.26/Engine/Build/BatchFiles
  - ./RunUAT.sh BuildPlugin -Plugin="$CLONEDIR/CesiumForUnreal.uplugin" -Package="$CLONEDIR/../packages/CesiumForUnreal" -CreateSubFolder
  + - cd "$CLONEDIR/../packages"
  + - 7z a CesiumForUnreal-${CESIUM_UNREAL_VERSION}.zip CesiumForUnreal/
  + - aws s3 cp CesiumForUnreal-${CESIUM_UNREAL_VERSION}.zip s3://builds-cesium-unreal/
  + - export PACKAGE_LINK=$(aws --region us-east-1 s3 presign s3://builds-cesium-unreal/CesiumForUnreal-${TRAVIS_OS_NAME}-${CESIUM_UNREAL_VERSION}.zip --expires-in 315360000)
  + - http POST "https://api.github.com/repos/${TRAVIS_REPO_SLUG}/statuses/${TRAVIS_COMMIT}" "Authorization:token ${GITHUB_TOKEN}" state=success context=plugin-package "target_url=${PACKAGE_LINK}" --ignore-stdin
  