mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 13:06:24 +00:00
Changed ghactions to net7
This commit is contained in:
1 parent
3f1eb5ca59
commit
8adeaab54d
3 files changed
+16
-4
No files matched your search
@@ -20,7 +20,7 @@ jobs:
|
|||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 6.0.x
|
dotnet-version: 7.0.x
|
||||||
- name: Git Semantic Version
|
- name: Git Semantic Version
|
||||||
id: versioning
|
id: versioning
|
||||||
uses: PaulHatch/semantic-version@v4.0.3
|
uses: PaulHatch/semantic-version@v4.0.3
|
||||||
@@ -45,6 +45,12 @@ jobs:
|
|||||||
name: RGB.NET-NET6
|
name: RGB.NET-NET6
|
||||||
path: bin/net6.0/RGB.NET.*.dll
|
path: bin/net6.0/RGB.NET.*.dll
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
- name: Upload a Build Artifact NET7
|
||||||
|
uses: actions/upload-artifact@v2.2.4
|
||||||
|
with:
|
||||||
|
name: RGB.NET-NET7
|
||||||
|
path: bin/net7.0/RGB.NET.*.dll
|
||||||
|
if-no-files-found: error
|
||||||
- name: Upload Nuget Build Artifact
|
- name: Upload Nuget Build Artifact
|
||||||
uses: actions/upload-artifact@v2.2.4
|
uses: actions/upload-artifact@v2.2.4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 6.0.x
|
dotnet-version: 7.0.x
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 6.0.x
|
dotnet-version: 7.0.x
|
||||||
- name: Git Semantic Version
|
- name: Git Semantic Version
|
||||||
id: versioning
|
id: versioning
|
||||||
uses: PaulHatch/semantic-version@v4.0.3
|
uses: PaulHatch/semantic-version@v4.0.3
|
||||||
@@ -44,6 +44,12 @@ jobs:
|
|||||||
name: RGB.NET-NET6
|
name: RGB.NET-NET6
|
||||||
path: bin/net6.0/RGB.NET.*.dll
|
path: bin/net6.0/RGB.NET.*.dll
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
- name: Upload a Build Artifact NET7
|
||||||
|
uses: actions/upload-artifact@v2.2.4
|
||||||
|
with:
|
||||||
|
name: RGB.NET-NET7
|
||||||
|
path: bin/net7.0/RGB.NET.*.dll
|
||||||
|
if-no-files-found: error
|
||||||
- name: Upload Nuget Build Artifact
|
- name: Upload Nuget Build Artifact
|
||||||
uses: actions/upload-artifact@v2.2.4
|
uses: actions/upload-artifact@v2.2.4
|
||||||
with:
|
with:
|
||||||
@@ -55,6 +61,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.versioning.outputs.version_tag }}
|
tag_name: ${{ steps.versioning.outputs.version_tag }}
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
files: bin/net6.0/RGB.NET.*.dll
|
files: bin/net7.0/RGB.NET.*.dll
|
||||||
- name: Nuget Push
|
- name: Nuget Push
|
||||||
run: dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
|
run: dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
|
||||||
Reference in new issue
Block a user