Skip to content

Commit

Permalink
pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
aloneguid committed Nov 6, 2024
1 parent 7900803 commit d6527c1
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
30 changes: 24 additions & 6 deletions .github/workflows/release.yml → .github/workflows/lib.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,34 @@
name: Release

env:
v: '5.2.0'
av: '5.0.0'
pv: '5.2.0'
VERSION: '5.3.0'
ASM_VERSION: '5.0.0'

on:
push:
branches: [ master ]
branches:
- master
- '5.3'
pull_request:
branches: [ master ]
branches:
- master
workflow_dispatch:

jobs:

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
8.0.x
- name: run tests
run: dotnet test src/Config.Net.sln -c release --filter Category!=Integration

build:

runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,7 +57,9 @@ jobs:
path: src/**/*.nupkg

publish:
needs: [build]
needs:
- build
- test
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
environment: nuget
Expand Down
2 changes: 2 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## 5.3.0

3 changes: 2 additions & 1 deletion src/Config.Net.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
..\.editorconfig = ..\.editorconfig
..\.github\ISSUE_TEMPLATE.md = ..\.github\ISSUE_TEMPLATE.md
..\docs\README.md = ..\docs\README.md
..\.github\workflows\release.yml = ..\.github\workflows\release.yml
..\.github\workflows\lib.yml = ..\.github\workflows\lib.yml
..\docs\release-notes.md = ..\docs\release-notes.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Config.Net", "Config.Net\Config.Net.csproj", "{C71E3744-1544-47AF-9A7B-E88F6F775975}"
Expand Down

0 comments on commit d6527c1

Please sign in to comment.