change workflow

This commit is contained in:
galister
2023-03-05 14:41:37 +01:00
committed by Natsumi
parent 471e8ce06b
commit 43a997cf30

View File

@@ -1,12 +1,7 @@
name: VRCX
on:
push:
branches:
- master
pull_request:
branches:
- master
- workflow_dispatch
jobs:
build_dotnet:
@@ -22,6 +17,10 @@ jobs:
uses: microsoft/setup-msbuild@v1.0.2
- name: Build with MSBuild
run: msbuild VRCX.sln -p:Configuration=Release -p:Platform=x64
- uses: actions/upload-artifact@v3
with:
name: vrcx
path: bin/x64/Release
build_node:
runs-on: ubuntu-latest
@@ -41,3 +40,12 @@ jobs:
run: npm run lint
- name: Build
run: npm run production
- name: Fix folder structure
id: fix-folders
run: |
mkdir upload
mv dist upload/html
- uses: actions/upload-artifact@v3
with:
name: vrcx
path: html/upload