ci(deps): bump actions/upload-artifact from 3 to 5 #18
Workflow file for this run
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 | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| env: | |
| DOTNET_VERSION: '7.0.x' | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
| DOTNET_NOLOGO: true | |
| jobs: | |
| build: | |
| name: π¨ Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: π₯ Checkout | |
| uses: actions/checkout@v4 | |
| - name: βοΈ Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: ${{ env.DOTNET_VERSION }} | |
| - name: π¦ Restore dependencies | |
| run: dotnet restore JsonViewer.Blazor.sln | |
| - name: ποΈ Build Component | |
| run: dotnet build src/Component/Component.csproj --no-restore --configuration Release | |
| - name: ποΈ Build Demo | |
| run: dotnet build src/Blazor.Demo/Blazor.Demo.csproj --no-restore --configuration Release | |
| - name: β Build Summary | |
| run: | | |
| echo "## ποΈ Build Summary" >> $GITHUB_STEP_SUMMARY | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| echo "- **Component**: β Built successfully" >> $GITHUB_STEP_SUMMARY | |
| echo "- **Demo**: β Built successfully" >> $GITHUB_STEP_SUMMARY | |
| echo "- **.NET Version**: ${{ env.DOTNET_VERSION }}" >> $GITHUB_STEP_SUMMARY |