Update actions

This commit is contained in:
Sardelka9515
2022-09-08 20:09:52 -07:00
committed by GitHub
parent 6e8f6e78f6
commit e30ef1f4bd
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
name: Buld test name: Build test
on: on:
push: push:
@ -9,7 +9,7 @@ on:
- '!main' # excludes main - '!main' # excludes main
pull_request: pull_request:
branches: [ "main","dev-nightly" ] branches: [ "main", "dev-nightly" ]
jobs: jobs:
build: build:
@ -34,12 +34,12 @@ jobs:
- name: Build server win-x64 - name: Build server win-x64
run: dotnet build RageCoop.Server/RageCoop.Server.csproj -o bin/Release/Server run: dotnet build RageCoop.Server/RageCoop.Server.csproj -o bin/Release/Server
- name: Upload server - name: Upload server
- uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: RageCoop.Server name: RageCoop.Server
path: bin/Release/Server path: bin/Release/Server
- name: Upload Client - name: Upload Client
- uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: RageCoop.Client name: RageCoop.Client
path: bin/Release/Client/RageCoop path: bin/Release/Client/RageCoop

View File

@ -21,7 +21,7 @@ jobs:
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore run: dotnet restore
- name: Restore nuget packages - name: Restore nuget packages
run: nuget restore` run: nuget restore
- name: Build client and installer - name: Build client and installer
run: dotnet build RageCoop.Client.Installer/RageCoop.Client.Installer.csproj --configuration Release -o bin/Release/Client/RageCoop run: dotnet build RageCoop.Client.Installer/RageCoop.Client.Installer.csproj --configuration Release -o bin/Release/Client/RageCoop
- name: Build server win-x64 - name: Build server win-x64