mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-28 19:23:47 +02:00
change workflow
This commit is contained in:
20
.github/workflows/github_actions.yml
vendored
20
.github/workflows/github_actions.yml
vendored
@@ -1,12 +1,7 @@
|
|||||||
name: VRCX
|
name: VRCX
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
- workflow_dispatch
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_dotnet:
|
build_dotnet:
|
||||||
@@ -22,6 +17,10 @@ jobs:
|
|||||||
uses: microsoft/setup-msbuild@v1.0.2
|
uses: microsoft/setup-msbuild@v1.0.2
|
||||||
- name: Build with MSBuild
|
- name: Build with MSBuild
|
||||||
run: msbuild VRCX.sln -p:Configuration=Release -p:Platform=x64
|
run: msbuild VRCX.sln -p:Configuration=Release -p:Platform=x64
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: vrcx
|
||||||
|
path: bin/x64/Release
|
||||||
|
|
||||||
build_node:
|
build_node:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -41,3 +40,12 @@ jobs:
|
|||||||
run: npm run lint
|
run: npm run lint
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run production
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user