mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Using local_packages folder for CI.
This commit is contained in:
13
.github/workflows/dotnet-core.yml
vendored
13
.github/workflows/dotnet-core.yml
vendored
@@ -78,8 +78,8 @@ jobs:
|
||||
|
||||
|
||||
build_release:
|
||||
# Ensure that RELEASE builds are not broken
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -90,11 +90,14 @@ jobs:
|
||||
dotnet-version: 8.x
|
||||
dotnet-quality: 'ga'
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
- name: Build local NuGet package
|
||||
run: dotnet pack --configuration Release -o ./local_packages
|
||||
|
||||
- name: Build Release
|
||||
run: dotnet build --configuration Release
|
||||
- name: Upload package artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: local_nuget_package
|
||||
path: ./local_packages/*.nupkg
|
||||
|
||||
|
||||
# Note: this step is currently not writing to the gist for some reason
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<clear />
|
||||
<add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||
<add key="LocalPackages" value="Terminal.Gui\bin\Release" />
|
||||
<add key="local_packages" value="Terminal.Gui" />
|
||||
</packageSources>
|
||||
<packageSourceMapping>
|
||||
<packageSource key="nuget">
|
||||
|
||||
Reference in New Issue
Block a user