mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 01:58:30 +00:00
Removed semantic versioning action in ci
This commit is contained in:
parent
51373e4441
commit
31db13cb3d
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@ -1,12 +1,15 @@
|
|||||||
name: RGB.NET-CI
|
name: RGB.NET-CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch:
|
||||||
branches: [ Development ]
|
inputs:
|
||||||
paths:
|
version:
|
||||||
- '**.cs'
|
description: 'version'
|
||||||
- '**.csproj'
|
required: true
|
||||||
- '**.yml'
|
type: string
|
||||||
|
increment:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -24,16 +27,10 @@ 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=${{ steps.versioning.outputs.version }}
|
run: dotnet build --no-restore --configuration Release /p:Version=${{ github.event.inputs.version }}-prerelease.${{ github.event.inputs.increment }}
|
||||||
- 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user