mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-22 08:13:52 +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
|
echo "${{ needs.set_version.outputs.version }}" > Version
|
||||||
cat Version
|
cat Version
|
||||||
- name: Build Cef .NET Application
|
- 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
|
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: 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
|
|
||||||
- name: Upload Cef dotnet artifacts
|
- name: Upload Cef dotnet artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -60,7 +58,7 @@ jobs:
|
|||||||
echo "${{ needs.set_version.outputs.version }}" > Version
|
echo "${{ needs.set_version.outputs.version }}" > Version
|
||||||
cat Version
|
cat Version
|
||||||
- name: Build Electron x64 .NET Application
|
- 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
|
- name: Upload Electron x64 dotnet artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -88,7 +86,7 @@ jobs:
|
|||||||
echo "${{ needs.set_version.outputs.version }}" > Version
|
echo "${{ needs.set_version.outputs.version }}" > Version
|
||||||
cat Version
|
cat Version
|
||||||
- name: Build Electron x64 .NET Application
|
- 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
|
- name: Upload Electron x64 .NET artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@echo off
|
@echo off
|
||||||
cd ../../
|
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
|
pause
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ try {
|
|||||||
// Remove time part from version
|
// Remove time part from version
|
||||||
version = version.substring(0, index).replaceAll('-', '.');
|
version = version.substring(0, index).replaceAll('-', '.');
|
||||||
}
|
}
|
||||||
|
if (!version || version === 'Nightly Build') {
|
||||||
|
version = new Date().toISOString().split('T')[0].replaceAll('-', '.');
|
||||||
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('Error reading Version file:', err);
|
console.error('Error reading Version file:', err);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user