Update build action 1

This commit is contained in:
Natsumi
2025-02-04 01:12:54 +13:00
parent 8bd062e904
commit 803bee527b

View File

@@ -31,7 +31,7 @@ jobs:
- name: Setup .NET 9
uses: actions/setup-dotnet@v3
with:
dotnet-version: "9.0.x"
dotnet-version: '9.0.x'
- name: Set version
run: |
echo "${{ needs.set_version.outputs.version }}" > Version
@@ -54,7 +54,7 @@ jobs:
- name: Setup .NET 9
uses: actions/setup-dotnet@v3
with:
dotnet-version: "9.0.x"
dotnet-version: '9.0.x'
- name: Set version
run: |
echo "${{ needs.set_version.outputs.version }}" > Version
@@ -95,7 +95,7 @@ jobs:
- name: Build Electron-html
run: npm run prod-linux
- name: Download Electron dotnet artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Electron-Release
path: build/Electron
@@ -105,11 +105,12 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Electron-AppImage
path: "build/VRCX_${{ needs.set_version.outputs.version }}.AppImage"
path: 'build/VRCX_${{ needs.set_version.outputs.version }}.AppImage'
create_setup:
runs-on: ubuntu-latest
needs: [set_version, build_node, build_dotnet_windows, build_dotnet_linux]
needs:
[set_version, build_node, build_dotnet_windows, build_dotnet_linux]
steps:
- uses: actions/checkout@v3
@@ -119,12 +120,12 @@ jobs:
- name: Set plugin permissions
run: sudo chown -R $(whoami) /usr/share/nsis/Plugins/
- name: Download Cef dotnet artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Cef-Release
path: build/Cef
- name: Download Cef-html artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Cef-html
path: build/Cef/html
@@ -149,9 +150,9 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: VRCX-Setup
path: "VRCX_${{ needs.set_version.outputs.version }}_Setup.exe"
path: 'VRCX_${{ needs.set_version.outputs.version }}_Setup.exe'
- name: Upload Zip artifact
uses: actions/upload-artifact@v3
with:
name: VRCX-Zip
path: "VRCX_${{ needs.set_version.outputs.version }}.zip"
path: 'VRCX_${{ needs.set_version.outputs.version }}.zip'