mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
Update dotnet build lines
This commit is contained in:
8
.github/workflows/github_actions.yml
vendored
8
.github/workflows/github_actions.yml
vendored
@@ -37,9 +37,7 @@ jobs:
|
||||
echo "${{ needs.set_version.outputs.version }}" > Version
|
||||
cat Version
|
||||
- name: Build Cef .NET Application
|
||||
run: dotnet build Dotnet\VRCX-Cef.csproj -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m --self-contained
|
||||
- name: Build Cef .NET Application
|
||||
run: dotnet build DBMerger\DBMerger.csproj -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m --self-contained
|
||||
run: dotnet build Dotnet\VRCX-Cef.csproj -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64 --self-contained
|
||||
- name: Upload Cef dotnet artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -60,7 +58,7 @@ jobs:
|
||||
echo "${{ needs.set_version.outputs.version }}" > Version
|
||||
cat Version
|
||||
- name: Build Electron x64 .NET Application
|
||||
run: dotnet build 'Dotnet/VRCX-Electron.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m --self-contained
|
||||
run: dotnet build 'Dotnet/VRCX-Electron.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64 --self-contained
|
||||
- name: Upload Electron x64 dotnet artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -88,7 +86,7 @@ jobs:
|
||||
echo "${{ needs.set_version.outputs.version }}" > Version
|
||||
cat Version
|
||||
- name: Build Electron x64 .NET Application
|
||||
run: dotnet build 'Dotnet/VRCX-Electron.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64 --self-contained
|
||||
run: dotnet build 'Dotnet/VRCX-Electron.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64 --self-contained
|
||||
- name: Upload Electron x64 .NET artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@echo off
|
||||
cd ../../
|
||||
dotnet build Dotnet\VRCX-Cef.csproj -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m --self-contained
|
||||
dotnet build Dotnet\VRCX-Cef.csproj -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64 --self-contained
|
||||
pause
|
||||
|
||||
@@ -13,6 +13,9 @@ try {
|
||||
// Remove time part from version
|
||||
version = version.substring(0, index).replaceAll('-', '.');
|
||||
}
|
||||
if (!version || version === 'Nightly Build') {
|
||||
version = new Date().toISOString().split('T')[0].replaceAll('-', '.');
|
||||
}
|
||||
} catch (err) {
|
||||
console.error('Error reading Version file:', err);
|
||||
process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user