Update build action 1

This commit is contained in:
Natsumi
2025-02-04 01:12:54 +13:00
parent 8bd062e904
commit 803bee527b
+10 -9
View File
@@ -31,7 +31,7 @@ jobs:
- name: Setup .NET 9 - name: Setup .NET 9
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: "9.0.x" dotnet-version: '9.0.x'
- name: Set version - name: Set version
run: | run: |
echo "${{ needs.set_version.outputs.version }}" > Version echo "${{ needs.set_version.outputs.version }}" > Version
@@ -54,7 +54,7 @@ jobs:
- name: Setup .NET 9 - name: Setup .NET 9
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: "9.0.x" dotnet-version: '9.0.x'
- name: Set version - name: Set version
run: | run: |
echo "${{ needs.set_version.outputs.version }}" > Version echo "${{ needs.set_version.outputs.version }}" > Version
@@ -95,7 +95,7 @@ jobs:
- name: Build Electron-html - name: Build Electron-html
run: npm run prod-linux run: npm run prod-linux
- name: Download Electron dotnet artifacts - name: Download Electron dotnet artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: Electron-Release name: Electron-Release
path: build/Electron path: build/Electron
@@ -105,11 +105,12 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Electron-AppImage name: Electron-AppImage
path: "build/VRCX_${{ needs.set_version.outputs.version }}.AppImage" path: 'build/VRCX_${{ needs.set_version.outputs.version }}.AppImage'
create_setup: create_setup:
runs-on: ubuntu-latest 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: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@@ -119,12 +120,12 @@ jobs:
- name: Set plugin permissions - name: Set plugin permissions
run: sudo chown -R $(whoami) /usr/share/nsis/Plugins/ run: sudo chown -R $(whoami) /usr/share/nsis/Plugins/
- name: Download Cef dotnet artifacts - name: Download Cef dotnet artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
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@v3 uses: actions/download-artifact@v4
with: with:
name: Cef-html name: Cef-html
path: build/Cef/html path: build/Cef/html
@@ -149,9 +150,9 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: VRCX-Setup 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 - name: Upload Zip artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: VRCX-Zip name: VRCX-Zip
path: "VRCX_${{ needs.set_version.outputs.version }}.zip" path: 'VRCX_${{ needs.set_version.outputs.version }}.zip'