Skip to content

added support for CaravanBonusSpeedFactor from equipment #158

added support for CaravanBonusSpeedFactor from equipment

added support for CaravanBonusSpeedFactor from equipment #158

Workflow file for this run

name: build
on:
push:
branches: [ "develop" ]
workflow_dispatch:
env:
PROJECT_PATH: "Source/Vehicles/Vehicles.sln"
jobs:
build:
runs-on: ubuntu-latest
environment: develop
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Get Version
shell: bash
run: |
full="$(tr -d '[:space:]' < Version.txt)"
version_str="$(echo "$full" | cut -d. -f1-2)"
echo "VERSION=$version_str" >> "$GITHUB_ENV"
- name: Setup .Net
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Restore Packages
run: dotnet restore "$PROJECT_PATH" -p:UseKrafsPackageRef=true
- name: Compile
run: dotnet build "$PROJECT_PATH" --configuration Debug --no-restore -p:UseKrafsPackageRef=true
- name: Extract Localization Files
shell: bash
run: |
chmod +x Build/ExtractTranslations.sh
Build/ExtractTranslations.sh "$VERSION"
- name: Get Build Version
run: |
VERSION=$(cat Version.txt)
ARTIFACT_NAME="Vehicle-Framework-v$VERSION"
echo "ARTIFACT_NAME=$ARTIFACT_NAME" >> $GITHUB_ENV
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
path: |
1.4
1.5
1.6
About
LegacyTextures
Sounds
Updates
Version.txt
BuildDate.txt
TestConfig.xml
LICENSE
LoadFolders.xml