mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 07:07:32 +00:00
file updates
This commit is contained in:
parent
0b43f0bae6
commit
d108d84d8f
2 changed files with 76 additions and 0 deletions
38
.github/workflows/csm.yml
vendored
38
.github/workflows/csm.yml
vendored
|
|
@ -3,3 +3,41 @@ name: Build and Deploy CSM
|
|||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
env:
|
||||
# Path to the solution file relative to the root of the project.
|
||||
SOLUTION_FILE_PATH: ./src
|
||||
PROJECT_FILE_PATH: ./src/ConanServerManager
|
||||
|
||||
# Configuration type to build.
|
||||
BUILD_CONFIGURATION: Release
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Add MSBuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
|
||||
- name: Restore NuGet packages
|
||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||
# Add additional options to the MSBuild command line here (like platform or verbosity level).
|
||||
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
|
||||
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /t:publish /p:PublishDir="publish/" ${{env.PROJECT_FILE_PATH}}
|
||||
|
||||
- name: Upload artifact for deployment job
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: .net-app
|
||||
path: ${{env.PROJECT_FILE_PATH}}/publish
|
||||
|
||||
#deploy:
|
||||
# runs-on: self-hosted
|
||||
# needs: build
|
||||
|
|
|
|||
38
.github/workflows/discord.yml
vendored
38
.github/workflows/discord.yml
vendored
|
|
@ -3,3 +3,41 @@ name: Build and Deploy Discord Plugin
|
|||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
env:
|
||||
# Path to the solution file relative to the root of the project.
|
||||
SOLUTION_FILE_PATH: ./src
|
||||
PROJECT_FILE_PATH: ./src/Plugin.Discord
|
||||
|
||||
# Configuration type to build.
|
||||
BUILD_CONFIGURATION: Release
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Add MSBuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
|
||||
- name: Restore NuGet packages
|
||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||
# Add additional options to the MSBuild command line here (like platform or verbosity level).
|
||||
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
|
||||
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /t:publish /p:PublishDir="publish/" ${{env.PROJECT_FILE_PATH}}
|
||||
|
||||
- name: Upload artifact for deployment job
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: .net-app
|
||||
path: ${{env.PROJECT_FILE_PATH}}/publish
|
||||
|
||||
#deploy:
|
||||
# runs-on: self-hosted
|
||||
# needs: build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue