Publish Templates #2
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 Templates | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup NuGet.exe for use with actions | |
| uses: NuGet/setup-nuget@v2.0.0 | |
| - name: nuget pack | |
| run: | | |
| nuget pack template/CShell.Template/CShell.Template.nuspec -OutputDirectory packages | |
| - name: Publish NuGet and symbols | |
| id: nuget-push | |
| uses: edumserrano/nuget-push@v1 | |
| with: | |
| api-key: '${{ secrets.NUGET_KEY }}' | |
| working-directory: 'packages' | |
| fail-if-exists: false | |