Move local nuget feed to Raylib-cs/nuget and track with .keep
Moved for organisation and using .keep so the local nuget feed can be optional.
This commit is contained in:
parent
ab362bb8c5
commit
5284d05d41
4 changed files with 10 additions and 13 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
|
@ -29,11 +29,8 @@ jobs:
|
|||
9.0.x
|
||||
10.0.x
|
||||
|
||||
- name: Prepare local NuGet source
|
||||
run: mkdir -p nuget
|
||||
|
||||
- name: Create NuGet Package
|
||||
run: dotnet pack Raylib-cs -c Release --output nuget
|
||||
run: dotnet pack Raylib-cs -c Release --output Raylib-cs/nuget
|
||||
|
||||
- name: Restore + Install Built Package
|
||||
run: |
|
||||
|
|
@ -46,17 +43,17 @@ jobs:
|
|||
- name: Upload NuGet Package As Artifact
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
path: nuget/*
|
||||
path: Raylib-cs/nuget/*
|
||||
|
||||
- name: Upload NuGet Package As Release
|
||||
uses: softprops/action-gh-release@v3
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: nuget/*
|
||||
files: Raylib-cs/nuget/*
|
||||
|
||||
- name: Publish to NuGet
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
dotnet nuget push \
|
||||
nuget/* \
|
||||
Raylib-cs/nuget/* \
|
||||
--api-key ${{secrets.NUGET_API_KEY}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue