Skip to content

docs: create TypeGenerator README #5

docs: create TypeGenerator README

docs: create TypeGenerator README #5

Workflow file for this run

name: Publish to NuGet
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up .NET Core
uses: actions/setup-dotnet@v4.0.1
with:
dotnet-version: '8.0.x'
- name: Add GitHub source to NuGet
run: dotnet nuget add source --username R-unic --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/R-unic/index.json"
- name: Package the project
run: dotnet pack --configuration Release
- name: Publish the package
run: dotnet nuget push "RobloxCS/bin/Release/roblox-cs.1.0.0.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"