mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-12 09:38:31 +00:00
Updated build-scripts to net9
This commit is contained in:
parent
39da0fd59c
commit
9945a5f7cb
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -24,6 +24,7 @@ jobs:
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: |
|
||||
9.0.x
|
||||
8.0.x
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
@ -31,6 +32,12 @@ jobs:
|
||||
run: dotnet build --no-restore --configuration Release /p:Version=${{ github.event.inputs.version }}-prerelease.${{ github.event.inputs.increment }}
|
||||
- name: Test
|
||||
run: dotnet test --no-build --verbosity normal --configuration Release
|
||||
- name: Upload a Build Artifact NET9
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
with:
|
||||
name: RGB.NET-NET9
|
||||
path: bin/net9.0/RGB.NET.*.dll
|
||||
if-no-files-found: error
|
||||
- name: Upload a Build Artifact NET8
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
with:
|
||||
|
||||
1
.github/workflows/pr_verify.yml
vendored
1
.github/workflows/pr_verify.yml
vendored
@ -15,6 +15,7 @@ jobs:
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: |
|
||||
9.0.x
|
||||
8.0.x
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
|
||||
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: |
|
||||
9.0.x
|
||||
8.0.x
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
@ -27,6 +28,12 @@ jobs:
|
||||
run: dotnet build --no-restore --configuration Release /p:Version=${{ github.event.inputs.version }}
|
||||
- name: Test
|
||||
run: dotnet test --no-build --verbosity normal --configuration Release
|
||||
- name: Upload a Build Artifact NET9
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
with:
|
||||
name: RGB.NET-NET9
|
||||
path: bin/net9.0/RGB.NET.*.dll
|
||||
if-no-files-found: error
|
||||
- name: Upload a Build Artifact NET8
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
with:
|
||||
@ -44,6 +51,6 @@ jobs:
|
||||
with:
|
||||
tag_name: v${{ github.event.inputs.version }}
|
||||
generate_release_notes: true
|
||||
files: bin/net8.0/RGB.NET.*.dll
|
||||
files: bin/net9.0/RGB.NET.*.dll
|
||||
- name: Nuget Push
|
||||
run: dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user