SlowCow.Setup.Repo.GitHub 1.2.2

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package SlowCow.Setup.Repo.GitHub --version 1.2.2
NuGet\Install-Package SlowCow.Setup.Repo.GitHub -Version 1.2.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SlowCow.Setup.Repo.GitHub" Version="1.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SlowCow.Setup.Repo.GitHub --version 1.2.2
#r "nuget: SlowCow.Setup.Repo.GitHub, 1.2.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SlowCow.Setup.Repo.GitHub as a Cake Addin
#addin nuget:?package=SlowCow.Setup.Repo.GitHub&version=1.2.2

// Install SlowCow.Setup.Repo.GitHub as a Cake Tool
#tool nuget:?package=SlowCow.Setup.Repo.GitHub&version=1.2.2

SlowCow.Setup.Repo.GitHub

The SlowCow.Setup.Repo.GitHub library provides an implementation of the IRepo interface for retrieving resources from GitHub releases. This library builds on the base functionality provided by the SlowCow.Setup.Repo.Base library, offering features tailored for accessing and downloading resources directly from GitHub.

Installation

You can install it via NuGet Package Manager. Use the following command:

dotnet add package SlowCow.Setup.Repo.GitHub

Or via the Package Manager Console:

Install-Package SlowCow.Setup.Repo.GitHub

Basic Usage

// in this example we will use GitHub as a repository
// use your own GitHub token with read only access to the Releases
var readonlyGhToken = "YOUR-GITHUB-TOKEN";

// that how we can use custom token, for example for writing to the repository
var writerGhToken = args?.FirstOrDefault(x => x.StartsWith("--gh-token="))?.Substring("--gh-token=".Length).Trim();
if (string.IsNullOrWhiteSpace(writerGhToken)) writerGhToken = Environment.GetEnvironmentVariable("GH_TOKEN");

// create repo instance
var ghToken = !string.IsNullOrWhiteSpace(writerGhToken) ? writerGhToken : readonlyGhToken;
var repo = new GitHubRepo("NickRimmer", "SlowCow.ExamplePrivate", ghToken);

Check examples for more details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated