Removed V1 support

This commit is contained in:
Koen Bekkenutte
2021-12-12 20:12:50 +08:00
parent 401b7d8043
commit 34a6a4b592
5 changed files with 6 additions and 49 deletions

View File

@@ -23,22 +23,19 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
dotnet-version: [6.0.x]
projectables-version: [1, 2]
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet-version }}
include-prerelease: True
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore /p:EFProjectablesVersion=${{ matrix.projectables-version }}
run: dotnet restore
- name: Build
run: dotnet build --no-restore /p:EFProjectablesVersion=${{ matrix.projectables-version }}
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal /p:EFProjectablesVersion=${{ matrix.projectables-version }}
run: dotnet test --no-build --verbosity normal
prerelease:
needs: build
@@ -50,11 +47,7 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
include-prerelease: True
- name: Pack v1
run: |
dotnet pack -v normal -c DebugV1 --include-symbols --include-source -p:PackageVersion=1.0.0-pre-$GITHUB_RUN_ID -o nupkg
- name: Pack v2
- name: Pack
run: |
dotnet pack -v normal -c Debug --include-symbols --include-source -p:PackageVersion=2.0.0-pre-$GITHUB_RUN_ID -o nupkg
- name: Push to GitHub Feed