Skip to content

Commit e04314f

Browse files
authored
Add GA (#22)
1 parent adb2262 commit e04314f

File tree

9 files changed

+63
-430
lines changed

9 files changed

+63
-430
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish Nuget package
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build-test-pack:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Restore dependencies
17+
run: dotnet restore
18+
19+
- name: Build
20+
run: dotnet build --no-restore --configuration Release
21+
22+
- name: Test
23+
run: dotnet test --no-build --verbosity normal --configuration Release
24+
25+
- name: Pack
26+
run: dotnet pack ./src/Hangfire.PostgreSql/Hangfire.PostgreSql.csproj --output nupkgs --no-build --configuration Release -p:PackageVersion=${{ github.event.release.tag_name }}
27+
28+
- name: Push
29+
run: dotnet nuget push ./nupkgs/Hangfire.PostgreSql.ahydrax.${{ github.event.release.tag_name }}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
30+

.github/workflows/build-and-test.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Tests
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
branches: [ master ]
7+
8+
jobs:
9+
build-and-test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
15+
- name: Restore dependencies
16+
run: dotnet restore
17+
18+
- name: Build
19+
run: dotnet build --no-restore --configuration Release
20+
21+
- name: Test
22+
run: dotnet test --no-build --verbosity normal --configuration Release

Hangfire.PostgreSql.sln

+6-7
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.26730.3
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{766BE831-F758-46BC-AFD3-BBEEFE0F686F}"
7-
EndProject
8-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{0D30A51B-814F-474E-93B8-44E9C155255C}"
9-
EndProject
106
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hangfire.PostgreSql", "src\Hangfire.PostgreSql\Hangfire.PostgreSql.csproj", "{3E4DBC41-F38E-4D1C-A6A7-206A132A29D6}"
117
EndProject
128
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hangfire.PostgreSql.Tests", "tests\Hangfire.PostgreSql.Tests\Hangfire.PostgreSql.Tests.csproj", "{6044A48D-730B-4D1F-B03A-EB2B458DAF53}"
139
EndProject
1410
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hangfire.PostgreSql.Tests.Web", "tests\Hangfire.PostgreSql.Tests.Web\Hangfire.PostgreSql.Tests.Web.csproj", "{77CDAC72-9C88-48C1-9B52-592DF0588C02}"
1511
EndProject
12+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{B9772DF7-AE41-4AF0-911E-35EBFCB405DF}"
13+
ProjectSection(SolutionItems) = preProject
14+
.github\workflows\build-and-publish-nuget.yml = .github\workflows\build-and-publish-nuget.yml
15+
.github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml
16+
EndProjectSection
17+
EndProject
1618
Global
1719
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1820
Debug|Any CPU = Debug|Any CPU
@@ -36,9 +38,6 @@ Global
3638
HideSolutionNode = FALSE
3739
EndGlobalSection
3840
GlobalSection(NestedProjects) = preSolution
39-
{3E4DBC41-F38E-4D1C-A6A7-206A132A29D6} = {0D30A51B-814F-474E-93B8-44E9C155255C}
40-
{6044A48D-730B-4D1F-B03A-EB2B458DAF53} = {766BE831-F758-46BC-AFD3-BBEEFE0F686F}
41-
{77CDAC72-9C88-48C1-9B52-592DF0588C02} = {766BE831-F758-46BC-AFD3-BBEEFE0F686F}
4241
EndGlobalSection
4342
GlobalSection(ExtensibilityGlobals) = postSolution
4443
SolutionGuid = {8D893276-F8F4-4A3B-9249-B485922C9123}

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
License
22
========
33

4-
Copyright © 2014-2017 Frank Hommers, Burhan Irmikci (barhun), Zachary Sims(zsims), kgamecarter, Stafford Williams (staff0rd), briangweber, Viktor Svyatokha (ahydrax), Christopher Dresel (Dresel), Vytautas Kasparavičius (vytautask).
4+
Copyright © 2014-2021 Frank Hommers, Burhan Irmikci (barhun), Zachary Sims(zsims), kgamecarter, Stafford Williams (staff0rd), briangweber, Viktor Svyatokha (ahydrax), Christopher Dresel (Dresel), Vytautas Kasparavičius (vytautask).
55

66
Hangfire.PostgreSql is an Open Source project licensed under the terms of the LGPLv3 license. Please see http://www.gnu.org/licenses/lgpl-3.0.html for license text or COPYING.LESSER file distributed with the source code.
77

0 commit comments

Comments
 (0)