Added seperate version of readme for nuget as html wont display on nu… #5
This file contains hidden or 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 nuget package | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - "LucideBlazor/**.csproj" | |
| branches: | |
| - main | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| projectName: [LucideBlazor] | |
| steps: | |
| # Checkout code | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: 'true' | |
| # Setup dotnet 9 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: 9.0 | |
| # Run the publishing action | |
| - name: Publish on version change | |
| uses: alirezanet/[email protected] | |
| with: | |
| PROJECT_FILE_PATH: ${{ matrix.projectName }}/${{ matrix.projectName }}.csproj | |
| TAG_COMMIT: false | |
| NUGET_KEY: ${{secrets.NUGET_API_KEY}} |