mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-07 21:58:06 -05:00
Revert "Create shared_library_nuget.yml"
This reverts commit 32c29fb006c1feb84b1786328ca72fc842540fdd.
This commit is contained in:
parent
32c29fb006
commit
c651b8d0e8
40
.github/workflows/shared_library_nuget.yml
vendored
40
.github/workflows/shared_library_nuget.yml
vendored
@ -1,40 +0,0 @@
|
||||
name: Build and Pack SharedLibraryCore Nuget
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "develop" ]
|
||||
pull_request:
|
||||
branches: [ "develop" ]
|
||||
|
||||
jobs:
|
||||
build_pack:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
buildPlatform: 'Any CPU'
|
||||
outputFolder: '${{github.workspace}}/Publish/${{env.buildConfiguration}}'
|
||||
releaseType: 'verified'
|
||||
buildConfiguration: 'Release'
|
||||
isPreRelease: 'false'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
- name: Build Data
|
||||
run: dotnet build **/Data.csproj -c ${{env.buildConfiguration}} --no-restore
|
||||
- name: Build SLC
|
||||
run: dotnet build **/SharedLibraryCore.csproj -c ${{env.buildConfiguration}} /p:Version=${{github.run_number}} --no-restore
|
||||
- name: Pack SLC
|
||||
run: dotnet pack **/SharedLibraryCore.csproj -c ${{env.buildConfiguration}} --version-suffix ${{github.run_number}}
|
||||
|
||||
- name: Publish nuget package artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: SharedLibraryCore.${{github.run_number}}.nupkg
|
||||
path: '**/RaidMax.IW4MAdmin.SharedLibraryCore.${{github.run_number}}.nupkg'
|
Loading…
x
Reference in New Issue
Block a user