Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
BUILD_ARGS_COMMON
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Audykowicz committed Sep 11, 2023
1 parent 8449a30 commit 2fea9b4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
CPP_SDK_URL: "https://github.com/DolbyIO/comms-sdk-cpp/releases/download"
PLUGIN_SOURCE_DIR: "DolbyIO"
PLUGIN_BUILD_DIR: "Build/DolbyIO"
BUILD_ARGS_COMMON: "BuildPlugin -Rocket -StrictIncludes -Plugin=\"$(pwd)/DolbyIO/DolbyIO.uplugin\" -Package=\"$(pwd)/Build/DolbyIO\""
GH_TOKEN: ${{ github.token }}
RETENTION: 7

Expand Down Expand Up @@ -41,18 +42,16 @@ jobs:

- name: Build plugin
env:
BUILD_COMMAND: "C:\\Program Files\\Epic Games\\UE_${{ matrix.version }}\\Engine\\Build\\BatchFiles\\RunUAT.bat"
BUILD_ARGS: "BuildPlugin -Rocket -StrictIncludes -Plugin=\"$(pwd)\\DolbyIO\\DolbyIO.uplugin\" -Package=\"$(pwd)\\Build\\DolbyIO\" -TargetPlatforms=Win64"
BUILD_COMMAND: "C:/Program` Files/Epic` Games/UE_${{ matrix.version }}/Engine/Build/BatchFiles/RunUAT.bat"
BUILD_ARGS_PLATFORM: "-TargetPlatforms=Win64"
run: |
if (${{ matrix.version }} -eq "4.27")
{
$UAT = "${{ env.BUILD_COMMAND }}"
& $UAT ${{ env.BUILD_ARGS }} -VS2019
${{ env.BUILD_COMMAND }} ${{ env.BUILD_ARGS_COMMON }} ${{ env.BUILD_ARGS_PLATFORM }} -VS2019
}
else
{
$UAT = "${{ env.BUILD_COMMAND }}"
& $UAT ${{ env.BUILD_ARGS }}
${{ env.BUILD_COMMAND }} ${{ env.BUILD_ARGS_COMMON }} ${{ env.BUILD_ARGS_PLATFORM }}
}
- name: Sign plugin
Expand Down

0 comments on commit 2fea9b4

Please sign in to comment.