Move Denver so player doesn't start below it. #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cesium for Unreal Samples | |
on: [push] | |
jobs: | |
Package: | |
runs-on: ["self-hosted","windows","x64","unreal-50"] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 0 # so that `git describe` works. | |
- name: Set environment variables | |
run: | | |
$ENV:SAMPLES_VERSION=$(git describe) | |
$ENV:SAMPLES_PACKAGE_NAME="CesiumForUnrealSamples-${ENV:SAMPLES_VERSION}" | |
# Make the package name available to subsequent steps | |
echo "SAMPLES_PACKAGE_NAME=${ENV:SAMPLES_PACKAGE_NAME}" >> $ENV:GITHUB_ENV | |
- name: Package Project | |
run: | | |
cd "C:/Program Files/Epic Games/UE_5.0/Engine/Build/BatchFiles" | |
& "C:/Program Files/Epic Games/UE_5.0/Engine/Build/BatchFiles/RunUAT.bat" ZipProjectUp -nocompileeditor -project="${ENV:GITHUB_WORKSPACE}/" -install="${ENV:GITHUB_WORKSPACE}/${ENV:SAMPLES_PACKAGE_NAME}".zip -nocompile | |
- name: Extract built package | |
run: | | |
# Unzip the package ZIP so that it's not a ZIP inside a ZIP when published as a GitHub artifact. | |
mkdir extracted_package | |
7z x "${ENV:GITHUB_WORKSPACE}/${ENV:SAMPLES_PACKAGE_NAME}.zip" "-o${ENV:GITHUB_WORKSPACE}/extracted_package" | |
- name: Publish project package artifact | |
if: ${{ success() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ env.SAMPLES_PACKAGE_NAME}}.zip | |
path: extracted_package |