1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-08 06:08:20 -05:00

Revert "Create shared_library_nuget.yml"

This reverts commit 32c29fb006c1feb84b1786328ca72fc842540fdd.
This commit is contained in:
RaidMax 2024-06-25 21:22:08 -05:00
parent 32c29fb006
commit c651b8d0e8

View File

@ -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'