name: dotnet package on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: dotnet-version: [ '8.0.x' ] steps: - uses: actions/checkout@v4 - name: Setup dotnet uses: actions/setup-dotnet@v3 with: dotnet-version: '8.0.x' # You can test your matrix by printing the current dotnet version - name: Display dotnet version run: dotnet --version