mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Update action
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
|||||||
version: ${{ steps.version.outputs.version }}
|
version: ${{ steps.version.outputs.version }}
|
||||||
date: ${{ steps.version.outputs.date }}
|
date: ${{ steps.version.outputs.date }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- id: version
|
- id: version
|
||||||
run: |
|
run: |
|
||||||
export FILENAME="$(cat Version)"
|
export FILENAME="$(cat Version)"
|
||||||
@@ -33,9 +33,9 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
needs: [set_version, build_node]
|
needs: [set_version, build_node]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- name: Setup .NET 10
|
- name: Setup .NET 10
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v5
|
||||||
with:
|
with:
|
||||||
dotnet-version: '10.0.x'
|
dotnet-version: '10.0.x'
|
||||||
- name: Set version
|
- name: Set version
|
||||||
@@ -85,7 +85,7 @@ jobs:
|
|||||||
${{ github.workspace }}\build\Cef\VRCX.exe
|
${{ github.workspace }}\build\Cef\VRCX.exe
|
||||||
|
|
||||||
- name: Download Cef-html artifacts
|
- name: Download Cef-html artifacts
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: Cef-html
|
name: Cef-html
|
||||||
path: build/Cef/html
|
path: build/Cef/html
|
||||||
@@ -117,12 +117,12 @@ jobs:
|
|||||||
${{ github.workspace }}\VRCX_${{ needs.set_version.outputs.version }}_Setup.exe
|
${{ github.workspace }}\VRCX_${{ needs.set_version.outputs.version }}_Setup.exe
|
||||||
|
|
||||||
- name: Upload Cef dotnet artifacts
|
- name: Upload Cef dotnet artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: Cef-Release
|
name: Cef-Release
|
||||||
path: build/Cef
|
path: build/Cef
|
||||||
- name: Upload setup artifact
|
- name: Upload setup artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: Cef-Setup
|
name: Cef-Setup
|
||||||
path: VRCX_${{ needs.set_version.outputs.version }}_Setup.exe
|
path: VRCX_${{ needs.set_version.outputs.version }}_Setup.exe
|
||||||
@@ -131,9 +131,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: set_version
|
needs: set_version
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- name: Setup .NET 9
|
- name: Setup .NET 9
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v5
|
||||||
with:
|
with:
|
||||||
dotnet-version: '9.0.x'
|
dotnet-version: '9.0.x'
|
||||||
- name: Set version
|
- name: Set version
|
||||||
@@ -149,7 +149,7 @@ jobs:
|
|||||||
- 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:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64
|
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
|
||||||
- name: Upload Electron x64 dotnet artifacts
|
- name: Upload Electron x64 dotnet artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: Electron-Release-Linux-x64
|
name: Electron-Release-Linux-x64
|
||||||
path: build/Electron
|
path: build/Electron
|
||||||
@@ -161,7 +161,7 @@ jobs:
|
|||||||
- name: Build Electron arm64 .NET Application
|
- name: Build Electron arm64 .NET Application
|
||||||
run: dotnet build 'Dotnet/VRCX-Electron-arm64.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=arm64 -p:PlatformTarget=arm64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a arm64
|
run: dotnet build 'Dotnet/VRCX-Electron-arm64.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=arm64 -p:PlatformTarget=arm64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a arm64
|
||||||
- name: Upload Electron arm64 dotnet artifacts
|
- name: Upload Electron arm64 dotnet artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: Electron-Release-Linux-arm64
|
name: Electron-Release-Linux-arm64
|
||||||
path: build/Electron
|
path: build/Electron
|
||||||
@@ -170,9 +170,9 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
needs: set_version
|
needs: set_version
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- name: Setup .NET 9
|
- name: Setup .NET 9
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v5
|
||||||
with:
|
with:
|
||||||
dotnet-version: '9.0.x'
|
dotnet-version: '9.0.x'
|
||||||
- name: Set version
|
- name: Set version
|
||||||
@@ -188,7 +188,7 @@ jobs:
|
|||||||
- 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:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64
|
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
|
||||||
- name: Upload Electron x64 .NET artifacts
|
- name: Upload Electron x64 .NET artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: Electron-Release-macOS-x64
|
name: Electron-Release-macOS-x64
|
||||||
path: build/Electron
|
path: build/Electron
|
||||||
@@ -200,7 +200,7 @@ jobs:
|
|||||||
- name: Build Electron arm64 .NET Application
|
- name: Build Electron arm64 .NET Application
|
||||||
run: dotnet build 'Dotnet/VRCX-Electron-arm64.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=arm64 -p:PlatformTarget=arm64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a arm64
|
run: dotnet build 'Dotnet/VRCX-Electron-arm64.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=arm64 -p:PlatformTarget=arm64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a arm64
|
||||||
- name: Upload Electron arm64 dotnet artifacts
|
- name: Upload Electron arm64 dotnet artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: Electron-Release-macOS-arm64
|
name: Electron-Release-macOS-arm64
|
||||||
path: build/Electron
|
path: build/Electron
|
||||||
@@ -209,7 +209,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [set_version, build_dotnet_linux]
|
needs: [set_version, build_dotnet_linux]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- name: Set version
|
- name: Set version
|
||||||
run: |
|
run: |
|
||||||
echo "${{ needs.set_version.outputs.version }}" > Version
|
echo "${{ needs.set_version.outputs.version }}" > Version
|
||||||
@@ -236,7 +236,7 @@ jobs:
|
|||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SentryAuthToken }}
|
SENTRY_AUTH_TOKEN: ${{ secrets.SentryAuthToken }}
|
||||||
run: npm run prod
|
run: npm run prod
|
||||||
- name: Upload Cef-html artifacts
|
- name: Upload Cef-html artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: Cef-html
|
name: Cef-html
|
||||||
path: build/html
|
path: build/html
|
||||||
@@ -246,27 +246,27 @@ jobs:
|
|||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SentryAuthToken }}
|
SENTRY_AUTH_TOKEN: ${{ secrets.SentryAuthToken }}
|
||||||
run: npm run prod-linux
|
run: npm run prod-linux
|
||||||
- name: Download Electron x64 dotnet artifacts
|
- name: Download Electron x64 dotnet artifacts
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: Electron-Release-Linux-x64
|
name: Electron-Release-Linux-x64
|
||||||
path: build/Electron
|
path: build/Electron
|
||||||
- name: Build x64 AppImage
|
- name: Build x64 AppImage
|
||||||
run: npm run build-electron
|
run: npm run build-electron
|
||||||
- name: Upload Electron x64 AppImage artifacts
|
- name: Upload Electron x64 AppImage artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: Electron-AppImage-x64
|
name: Electron-AppImage-x64
|
||||||
path: 'build/VRCX_${{ needs.set_version.outputs.version }}_x64.AppImage'
|
path: 'build/VRCX_${{ needs.set_version.outputs.version }}_x64.AppImage'
|
||||||
|
|
||||||
- name: Download Electron arm64 dotnet artifacts
|
- name: Download Electron arm64 dotnet artifacts
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: Electron-Release-Linux-arm64
|
name: Electron-Release-Linux-arm64
|
||||||
path: build/Electron
|
path: build/Electron
|
||||||
- name: Build arm64 AppImage
|
- name: Build arm64 AppImage
|
||||||
run: npm run build-electron-arm64
|
run: npm run build-electron-arm64
|
||||||
- name: Upload Electron arm64 AppImage artifacts
|
- name: Upload Electron arm64 AppImage artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: Electron-AppImage-arm64
|
name: Electron-AppImage-arm64
|
||||||
path: 'build/VRCX_${{ needs.set_version.outputs.version }}_arm64.AppImage'
|
path: 'build/VRCX_${{ needs.set_version.outputs.version }}_arm64.AppImage'
|
||||||
@@ -275,7 +275,7 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
needs: [set_version, build_dotnet_macos]
|
needs: [set_version, build_dotnet_macos]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- name: Set version
|
- name: Set version
|
||||||
run: |
|
run: |
|
||||||
echo "${{ needs.set_version.outputs.version }}" > Version
|
echo "${{ needs.set_version.outputs.version }}" > Version
|
||||||
@@ -301,14 +301,14 @@ jobs:
|
|||||||
run: npm run prod-linux --arch=x64
|
run: npm run prod-linux --arch=x64
|
||||||
|
|
||||||
- name: Download x64 Electron dotnet artifacts
|
- name: Download x64 Electron dotnet artifacts
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: Electron-Release-macOS-x64
|
name: Electron-Release-macOS-x64
|
||||||
path: build/Electron
|
path: build/Electron
|
||||||
- name: Build x64 macOS .dmg
|
- name: Build x64 macOS .dmg
|
||||||
run: npm run build-electron
|
run: npm run build-electron
|
||||||
- name: Upload x64 Electron macOS artifacts
|
- name: Upload x64 Electron macOS artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: Electron-MacDmg-x64
|
name: Electron-MacDmg-x64
|
||||||
path: 'build/VRCX_${{ needs.set_version.outputs.version }}_x64.dmg'
|
path: 'build/VRCX_${{ needs.set_version.outputs.version }}_x64.dmg'
|
||||||
@@ -321,14 +321,14 @@ jobs:
|
|||||||
run: npm run prod-linux --arch=arm64
|
run: npm run prod-linux --arch=arm64
|
||||||
|
|
||||||
- name: Download arm64 Electron dotnet artifacts
|
- name: Download arm64 Electron dotnet artifacts
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: Electron-Release-macOS-arm64
|
name: Electron-Release-macOS-arm64
|
||||||
path: build/Electron
|
path: build/Electron
|
||||||
- name: Build arm64 macOS .dmg
|
- name: Build arm64 macOS .dmg
|
||||||
run: npm run build-electron-arm64
|
run: npm run build-electron-arm64
|
||||||
- name: Upload arm64 Electron macOS artifacts
|
- name: Upload arm64 Electron macOS artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: Electron-MacDmg-arm64
|
name: Electron-MacDmg-arm64
|
||||||
path: 'build/VRCX_${{ needs.set_version.outputs.version }}_arm64.dmg'
|
path: 'build/VRCX_${{ needs.set_version.outputs.version }}_arm64.dmg'
|
||||||
@@ -346,16 +346,16 @@ jobs:
|
|||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- name: Download Cef-Setup artifacts
|
- name: Download Cef-Setup artifacts
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: Cef-Setup
|
name: Cef-Setup
|
||||||
- name: Download Cef dotnet artifacts
|
- name: Download Cef dotnet artifacts
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: Cef-Release
|
name: Cef-Release
|
||||||
path: build/Cef
|
path: build/Cef
|
||||||
- name: Download Cef-html artifacts
|
- name: Download Cef-html artifacts
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: Cef-html
|
name: Cef-html
|
||||||
path: build/Cef/html
|
path: build/Cef/html
|
||||||
@@ -368,7 +368,7 @@ jobs:
|
|||||||
mv ${file_name} ../../${file_name}
|
mv ${file_name} ../../${file_name}
|
||||||
echo "Zip FileName: ${file_name}"
|
echo "Zip FileName: ${file_name}"
|
||||||
- name: Upload Zip artifact
|
- name: Upload Zip artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: VRCX-Zip
|
name: VRCX-Zip
|
||||||
path: 'VRCX_${{ needs.set_version.outputs.version }}.zip'
|
path: 'VRCX_${{ needs.set_version.outputs.version }}.zip'
|
||||||
|
|||||||
Reference in New Issue
Block a user