mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-01-02 10:43:37 +00:00
Compare commits
No commits in common. "5f71ffdf1f8b1a42030308aa85942a1e72171327" and "51373e4441414568898bc2caf17ef8fff08c35a7" have entirely different histories.
5f71ffdf1f
...
51373e4441
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@ -1,15 +1,12 @@
|
|||||||
name: RGB.NET-CI
|
name: RGB.NET-CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
push:
|
||||||
inputs:
|
branches: [ Development ]
|
||||||
version:
|
paths:
|
||||||
description: 'version'
|
- '**.cs'
|
||||||
required: true
|
- '**.csproj'
|
||||||
type: string
|
- '**.yml'
|
||||||
increment:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -27,10 +24,16 @@ jobs:
|
|||||||
8.0.x
|
8.0.x
|
||||||
7.0.x
|
7.0.x
|
||||||
6.0.x
|
6.0.x
|
||||||
|
- name: Git Semantic Version
|
||||||
|
id: versioning
|
||||||
|
uses: PaulHatch/semantic-version@v4.0.3
|
||||||
|
with:
|
||||||
|
short_tags: false
|
||||||
|
format: "${major}.${minor}.${patch}-prerelease.${increment}"
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build --no-restore --configuration Release /p:Version=${{ github.event.inputs.version }}-prerelease.${{ github.event.inputs.increment }}
|
run: dotnet build --no-restore --configuration Release /p:Version=${{ steps.versioning.outputs.version }}
|
||||||
- name: Test
|
- name: Test
|
||||||
run: dotnet test --no-build --verbosity normal --configuration Release
|
run: dotnet test --no-build --verbosity normal --configuration Release
|
||||||
- name: Upload a Build Artifact NET6
|
- name: Upload a Build Artifact NET6
|
||||||
|
|||||||
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
@ -1,12 +1,12 @@
|
|||||||
name: RGB.NET-Release
|
name: RGB.NET-Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
push:
|
||||||
inputs:
|
branches: [ master ]
|
||||||
version:
|
paths:
|
||||||
description: 'version'
|
- '**.cs'
|
||||||
required: true
|
- '**.csproj'
|
||||||
type: string
|
- '**.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -23,10 +23,16 @@ jobs:
|
|||||||
8.0.x
|
8.0.x
|
||||||
7.0.x
|
7.0.x
|
||||||
6.0.x
|
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
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build --no-restore --configuration Release /p:Version=${{ github.event.inputs.version }}
|
run: dotnet build --no-restore --configuration Release /p:Version=${{ steps.versioning.outputs.version }}
|
||||||
- name: Test
|
- name: Test
|
||||||
run: dotnet test --no-build --verbosity normal --configuration Release
|
run: dotnet test --no-build --verbosity normal --configuration Release
|
||||||
- name: Upload a Build Artifact NET6
|
- name: Upload a Build Artifact NET6
|
||||||
@ -56,7 +62,7 @@ jobs:
|
|||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
tag_name: v${{ github.event.inputs.version }}
|
tag_name: ${{ steps.versioning.outputs.version_tag }}
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
files: bin/net8.0/RGB.NET.*.dll
|
files: bin/net8.0/RGB.NET.*.dll
|
||||||
- name: Nuget Push
|
- name: Nuget Push
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user