Update actions
This commit is contained in:
8
.github/workflows/build-test.yaml
vendored
8
.github/workflows/build-test.yaml
vendored
@ -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
|
||||||
|
2
.github/workflows/nightly-build.yaml
vendored
2
.github/workflows/nightly-build.yaml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user