mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 13:53:52 +02:00
Add github actions
This commit is contained in:
41
.github/workflows/github_actions.yml
vendored
Normal file
41
.github/workflows/github_actions.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: VRCX
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build_dotnet:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Nuget.exe
|
||||
uses: nuget/setup-nuget@v1
|
||||
- name: Restore packages
|
||||
run: nuget restore VRCX.sln
|
||||
- name: Setup MSBuild.exe
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
- name: Build with MSBuild
|
||||
run: msbuild VRCX.sln -p:Configuration=Release -p:Platform=x64
|
||||
|
||||
build_node:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: html
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Restore dependencies
|
||||
run: npm ci
|
||||
- name: Build
|
||||
run: npm run production
|
||||
Reference in New Issue
Block a user