mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-03-24 15:58:45 +00:00
Compare commits
No commits in common. "ec27f18d24ab29f3713374abbc4130de266236d8" and "1a3ad689d8fb7b9b1663da8cab0a3daeee7ca519" have entirely different histories.
ec27f18d24
...
1a3ad689d8
56
.github/workflows/ci.yml
vendored
56
.github/workflows/ci.yml
vendored
@ -1,56 +0,0 @@
|
|||||||
name: RGB.NET-CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ Development ]
|
|
||||||
paths:
|
|
||||||
- '**.cs'
|
|
||||||
- '**.csproj'
|
|
||||||
- '**.yml'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: windows-2022
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Setup .NET
|
|
||||||
uses: actions/setup-dotnet@v1
|
|
||||||
with:
|
|
||||||
dotnet-version: 6.0.x
|
|
||||||
- name: Git Semantic Version
|
|
||||||
id: versioning
|
|
||||||
uses: PaulHatch/semantic-version@v4.0.3
|
|
||||||
with:
|
|
||||||
short_tags: false
|
|
||||||
- name: Restore dependencies
|
|
||||||
run: dotnet restore
|
|
||||||
- name: Build
|
|
||||||
run: dotnet build --no-restore --configuration Release /p:Version=${{ steps.versioning.outputs.version }}
|
|
||||||
- name: Test
|
|
||||||
run: dotnet test --no-build --verbosity normal --configuration Release
|
|
||||||
- name: Upload a Build Artifact NET5
|
|
||||||
uses: actions/upload-artifact@v2.2.4
|
|
||||||
with:
|
|
||||||
name: RGB.NET-NET5
|
|
||||||
path: bin/net5.0/RGB.NET.*.dll
|
|
||||||
if-no-files-found: error
|
|
||||||
- name: Upload a Build Artifact NET6
|
|
||||||
uses: actions/upload-artifact@v2.2.4
|
|
||||||
with:
|
|
||||||
name: RGB.NET-NET6
|
|
||||||
path: bin/net6.0/RGB.NET.*.dll
|
|
||||||
if-no-files-found: error
|
|
||||||
- name: Upload Nuget Build Artifact
|
|
||||||
uses: actions/upload-artifact@v2.2.4
|
|
||||||
with:
|
|
||||||
name: RGB.NET-Nugets
|
|
||||||
path: bin/*nupkg
|
|
||||||
if-no-files-found: error
|
|
||||||
- name: Nuget Push
|
|
||||||
run: dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
|
|
||||||
- name: Nuget Push Symbols
|
|
||||||
run: dotnet nuget push **\*.snupkg --skip-duplicate --symbol-api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
|
|
||||||
24
.github/workflows/pr_verify.yml
vendored
24
.github/workflows/pr_verify.yml
vendored
@ -1,24 +0,0 @@
|
|||||||
name: PR-Verify
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches: [ master, Development ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: windows-2022
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Setup .NET
|
|
||||||
uses: actions/setup-dotnet@v1
|
|
||||||
with:
|
|
||||||
dotnet-version: 6.0.x
|
|
||||||
- name: Restore dependencies
|
|
||||||
run: dotnet restore
|
|
||||||
- name: Build
|
|
||||||
run: dotnet build --no-restore --configuration Release /p:Version=0.0.0
|
|
||||||
- name: Test
|
|
||||||
run: dotnet test --no-build --verbosity normal --configuration Release
|
|
||||||
|
|
||||||
66
.github/workflows/release.yml
vendored
66
.github/workflows/release.yml
vendored
@ -1,66 +0,0 @@
|
|||||||
name: RGB.NET-Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
paths:
|
|
||||||
- '**.cs'
|
|
||||||
- '**.csproj'
|
|
||||||
- '**.yml'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: windows-2022
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Setup .NET
|
|
||||||
uses: actions/setup-dotnet@v1
|
|
||||||
with:
|
|
||||||
dotnet-version: 6.0.x
|
|
||||||
- name: Git Semantic Version
|
|
||||||
id: versioning
|
|
||||||
uses: PaulHatch/semantic-version@v4.0.3
|
|
||||||
with:
|
|
||||||
short_tags: false
|
|
||||||
format: "${major}.${minor}.${patch}"
|
|
||||||
- name: Restore dependencies
|
|
||||||
run: dotnet restore
|
|
||||||
- name: Build
|
|
||||||
run: dotnet build --no-restore --configuration Release /p:Version=${{ steps.versioning.outputs.version }}
|
|
||||||
- name: Test
|
|
||||||
run: dotnet test --no-build --verbosity normal --configuration Release
|
|
||||||
- name: Upload a Build Artifact NET5
|
|
||||||
uses: actions/upload-artifact@v2.2.4
|
|
||||||
with:
|
|
||||||
name: RGB.NET-NET5
|
|
||||||
path: bin/net5.0/RGB.NET.*.dll
|
|
||||||
if-no-files-found: error
|
|
||||||
- name: Upload a Build Artifact NET6
|
|
||||||
uses: actions/upload-artifact@v2.2.4
|
|
||||||
with:
|
|
||||||
name: RGB.NET-NET6
|
|
||||||
path: bin/net6.0/RGB.NET.*.dll
|
|
||||||
if-no-files-found: error
|
|
||||||
- name: Upload Nuget Build Artifact
|
|
||||||
uses: actions/upload-artifact@v2.2.4
|
|
||||||
with:
|
|
||||||
name: RGB.NET-Nugets
|
|
||||||
path: bin/*nupkg
|
|
||||||
if-no-files-found: error
|
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
tag_name: ${{ steps.versioning.outputs.version_tag }}
|
|
||||||
generate_release_notes: true
|
|
||||||
files: bin/net6.0/RGB.NET.*.dll
|
|
||||||
- name: Nuget Push
|
|
||||||
run: dotnet nuget push "bin/*.nupkg" --skip-duplicate --api-key ${NUGET_TOKEN}
|
|
||||||
env:
|
|
||||||
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
|
|
||||||
- name: Nuget Push Symbols
|
|
||||||
run: dotnet nuget push "bin/*.snupkg" --skip-duplicate --api-key ${NUGET_TOKEN}
|
|
||||||
env:
|
|
||||||
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user