Skip to content

Commit 451860a

Browse files
authored
test-pipeline
Develop
2 parents e45c71f + ee62085 commit 451860a

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

.github/workflows/publish-main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
21-
21+
- name: Debug repo access
22+
run: |
23+
echo "PUBLIC_REPO value: ${{ vars.PUBLIC_REPO }}"
24+
curl -s -o /dev/null -w "%{http_code}" \
25+
-H "Authorization: token ${{ secrets.CLIENT_LIBRARY_NUGET_AUTH_TOKEN }}" \
26+
https://api.github.com/repos/${{ vars.PUBLIC_REPO }}
2227
# ── Mirror to Public Repo ──────────────────────────────────
2328
- name: Push to public repo
2429
run: |

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Please see our developer documentation & API Explorer, linked below, for detaile
88
**Secure API .NET Client**
99

1010
This .NET SDK is an auto-generated client for the AndDone Secure API, built using the [OpenAPI Generator](https://openapi-generator.tech).
11+
This .NET SDK targets both .Net 8 and NetStandard 2.0 for client consumption. Based on the client's target framework, the appropriate Nuget package will be pulled when referenced.
1112

1213
* **API version**: 2.3
1314
* **Package version**: 1.0.3
@@ -27,6 +28,7 @@ This .NET SDK is an auto-generated client for the AndDone Secure API, built usin
2728
* [API Endpoints](#api-endpoints)
2829
* [Models](#models)
2930
* [Authorization](#authorization)
31+
* [Including library](#including-library)
3032
* [Support & Versioning](#support--versioning)
3133

3234
---
@@ -431,6 +433,24 @@ Class | Method | HTTP request | Description
431433

432434
---
433435

436+
## Including library
437+
To include this **AndDone's DotNet client library** in your project:
438+
439+
#### Manually
440+
1. Add the package source reference to the local machine by running the following in Powershell:
441+
```sh
442+
dotnet nuget add source --name githubanddone "https://nuget.pkg.github.com/AndDone-kit/index.json"
443+
```
444+
2. In your .csproj file, add a package reference to:
445+
```sh
446+
<PackageReference Include="AndDoneSecureClientLibrary" Version="1.0.0" />
447+
```
448+
449+
#### Within Visual Studio
450+
To include the **AndDone's DotNet client library** in your project, a nuget.config file is included at the solution level to reference the package library.
451+
452+
453+
434454
## Authorization
435455

436456
Authentication is handled via API keys in HTTP headers:

0 commit comments

Comments
 (0)