docs: fix main README newlines #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |