Added gitea packages recognition.
This commit is contained in:
@@ -14,21 +14,26 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# 1. Standard Checkout (Works now because Node is installed!)
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# 2. Setup the .NET 9.0 SDK natively on the runner
|
|
||||||
- name: Setup .NET 9.0
|
- name: Setup .NET 9.0
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '9.0.x'
|
dotnet-version: '9.0.x'
|
||||||
|
|
||||||
# 3. Native run command (guaranteed to be in the correct directory)
|
# NEW: Authenticate with your private Gitea NuGet registry
|
||||||
|
- name: Add Gitea NuGet Source
|
||||||
|
run: >
|
||||||
|
dotnet nuget add source "https://git.main.qwsdcvghyu.com/api/packages/riley/nuget/index.json"
|
||||||
|
--name "GiteaRegistry"
|
||||||
|
--username "riley"
|
||||||
|
--password "${{ secrets.PACKAGES_KEY }}"
|
||||||
|
--store-password-in-clear-text
|
||||||
|
|
||||||
- name: 'Execute .NET Publish Target'
|
- name: 'Execute .NET Publish Target'
|
||||||
run: dotnet build aeqw89.tools.Publish/aeqw89.tools.Publish.csproj -t:PublishAll
|
run: dotnet build aeqw89.tools.Publish/aeqw89.tools.Publish.csproj -t:PublishAll
|
||||||
|
|
||||||
# 4. Upload to Gitea Release natively on the host
|
|
||||||
- name: Update Nightly Release
|
- name: Update Nightly Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user