diff --git a/.github/workflows/github_actions.yml b/.github/workflows/github_actions.yml index 93686d63..f4b07c05 100644 --- a/.github/workflows/github_actions.yml +++ b/.github/workflows/github_actions.yml @@ -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