fix: Downgrade setup-dotnet action version to v5 for compatibility #617
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 PepperDash Essentials | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| jobs: | |
| # runTests: | |
| # uses: PepperDash/workflow-templates/.github/workflows/essentialsplugins-tests.yml@main | |
| # secrets: inherit | |
| runTests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 9.0.x | |
| - name: Restore dependencies | |
| working-directory: . | |
| run: dotnet restore | |
| - name: Test | |
| working-directory: . | |
| run: dotnet test --verbosity normal --no-restore --collect:"xplat code coverage" | |
| getVersion: | |
| uses: PepperDash/workflow-templates/.github/workflows/essentialsplugins-getversion.yml@main | |
| secrets: inherit | |
| needs: runTests | |
| build-4Series: | |
| uses: PepperDash/workflow-templates/.github/workflows/essentialsplugins-4Series-builds.yml@main | |
| secrets: inherit | |
| needs: getVersion | |
| if: needs.getVersion.outputs.newVersion == 'true' | |
| with: | |
| newVersion: ${{ needs.getVersion.outputs.newVersion }} | |
| version: ${{ needs.getVersion.outputs.version }} | |
| tag: ${{ needs.getVersion.outputs.tag }} | |
| channel: ${{ needs.getVersion.outputs.channel }} | |
| bypassPackageCheck: true |