Skip to content

Updated to Eco 0.10.2.0 staging build 2877 #54

Updated to Eco 0.10.2.0 staging build 2877

Updated to Eco 0.10.2.0 staging build 2877 #54

Workflow file for this run

name: build for staging
on:
push:
branches:
- 'staging'
jobs:
build-mod:
runs-on: ubuntu-latest
env:
MODKIT_VERSION: 0.10.2.0-beta-staging-2877
ECO_BRANCH: staging
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Fetch dependencies
run: dotnet restore ./EcoSmartTaxMod/EcoSmartTaxMod.csproj
env:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
- name: Cache Eco dlls
id: cache-eco-dlls
uses: actions/cache@v2
with:
path: ./eco-dlls
key: ${{ env.MODKIT_VERSION }}-ref-dlls
- name: Download Eco dlls
if: steps.cache-eco-dlls.outputs.cache-hit != 'true'
run: sh fetch-eco-reference-assemblies.sh
- name: Build
run: dotnet build ./EcoSmartTaxMod/EcoSmartTaxMod.csproj --configuration Release --no-restore
env:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
- name: Upload build artifact
uses: actions/upload-artifact@v2
with:
name: mod-binaries-staging
path: EcoSmartTaxMod/bin/Release/net7.0/EcoSmartTaxMod.*