Skip to content

Updates to the README.md #30

Updates to the README.md

Updates to the README.md #30

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch: # Manual Run
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Create Package
run: dotnet pack --configuration Release
- name: Create Artifacts
uses: actions/upload-artifact@v2
with:
name: PutridParrot.Delimited.Data
path: D:\a\PutridParrot.Delimited.Data\PutridParrot.Delimited.Data\PutridParrot.Delimited.Data\bin\Release\*.nupkg
# path: /home/runner/work/PutridParrot.Delimited.Data/PutridParrot.Delimited.Data/PutridParrot.Delimited.Data/bin/Release/PutridParrot.Delimited.Data.*.nupkg
- name: Publish to Nuget
run: dotnet nuget push D:\a\PutridParrot.Delimited.Data\PutridParrot.Delimited.Data\PutridParrot.Delimited.Data\bin\Release\*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
# run: dotnet nuget push /home/runner/work/PutridParrot.Delimited.Data/PutridParrot.Delimited.Data/PutridParrot.Delimited.Data/bin/Release/*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
- name: Publish to GitHub
run: |
dotnet nuget add source https://nuget.pkg.github.com/putridparrot/index.json -n github -u putridparrot -p ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text
dotnet nuget push D:\a\PutridParrot.Delimited.Data\PutridParrot.Delimited.Data\PutridParrot.Delimited.Data\bin\Release\*.nupkg --skip-duplicate --api-key ${{secrets.GITHUB_TOKEN}} --source "github"
# dotnet nuget push /home/runner/work/PutridParrot.Delimited.Data/PutridParrot.Delimited.Data/PutridParrot.Delimited.Data/bin/Release/*.nupkg --skip-duplicate --api-key ${{secrets.GITHUB_TOKEN}} --source "github"