Skip to content

Commit

Permalink
Add SDK project, example, and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
seniorquico committed Sep 1, 2024
1 parent f4b40e8 commit d14a754
Show file tree
Hide file tree
Showing 182 changed files with 8,236 additions and 4 deletions.
28 changes: 28 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "C# (.NET)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-bookworm",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [5000, 5001],
// "portsAttributes": {
// "5001": {
// "protocol": "https"
// }
// }

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "sh install.sh",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": ["ms-dotnettools.csdevkit"]
}
}

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish NuGet Package
name: Publish Package

on:
release:
Expand All @@ -7,7 +7,7 @@ on:

env:
MANIFEST_PATH: .manifest.json
NUGET_API_SOURCE: https://nuget.pkg.github.com/SaladTechnologies/index.json
NUGET_API_SOURCE: https://api.nuget.org/v3/index.json

jobs:
build-and-publish:
Expand All @@ -29,4 +29,4 @@ jobs:
- name: Pack NuGet package
run: dotnet pack ${{ steps.read_csproj_path.outputs.csproj_path }} -o ./dist --configuration Release /p:ContinuousIntegrationBuild=true /p:PackageVersion=${{ steps.read_sdk_version.outputs.sdk_version }}
- name: Publish NuGet package
run: dotnet nuget push ./dist/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source $NUGET_API_SOURCE
run: dotnet nuget push ./dist/*.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source $NUGET_API_SOURCE
Loading

0 comments on commit d14a754

Please sign in to comment.