bump version to 2.6.3 in project file and update CI workflow to use l… #54
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: Build Test Publish | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| - name: Install dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build -c Release --no-restore | |
| - name: Test | |
| env: | |
| HELP_SCOUT_SHARP_APP_ID: ${{ secrets.HELP_SCOUT_SHARP_APP_ID }} | |
| HELP_SCOUT_SHARP_APP_SECRET: ${{ secrets.HELP_SCOUT_SHARP_APP_SECRET }} | |
| run: dotnet test --no-restore --verbosity normal | |
| - name: Publish to nuget | |
| env: | |
| NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
| run: dotnet nuget push HelpScoutSharp/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json --skip-duplicate -k $NUGET_API_KEY |