actions: Update dotnet.yml (#73)

Add support for C/C++ in the pipeline and upload the newer igcs connector.

It was necessary to create two different build scripts because for some reason
when you install the msvc compiler in a github action everything Just Breaks.

Then we create two different jobs to make sure they're independent instances of
containers that don't mess with other's environments.
This commit is contained in:
Sebastián A authored and GitHub committed 2024-05-05 20:27:18 -03:00
1 parent f557d3de88
commit 271261307d
3 files changed
+31 -5

No files matched your search

+27 -1
View File
@@ -8,7 +8,7 @@ on:
workflow_dispatch:
jobs:
build:
build_dotnet:
runs-on: windows-latest
if: "!contains(github.event.head_commit.message, '-noci')"
@@ -105,3 +105,29 @@ jobs:
with:
name: CinematicUnityExplorer.Editor.zip
path: ./UnityEditorPackage/
build_connector:
runs-on: windows-latest
if: "!contains(github.event.head_commit.message, '-noci')"
steps:
- name: Checkout latest
uses: actions/checkout@v3
with:
submodules: true
- name: Setup C/C++
uses: TheMrMilchmann/[email protected]
with:
arch: x64
# Run build script
- name: Build Unity IGCS Connector
run: ./build_connector.ps1
- name: Upload Unity IGCS Connector
uses: actions/upload-artifact@v3
with:
name: UnityIGCSConnector.dll
path: ./Release/UnityIGCSConnector.dll