Skip to content

Commit 8d1e252

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents e74faa7 + 706ad75 commit 8d1e252

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ jobs:
3535
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
3636
run: dotnet nuget push "./nupkg/*.nupkg" --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate
3737

38+
- name: Notify Slack
39+
if: success()
40+
env:
41+
SLACK_WEBHOOKS_URL: ${{ secrets.SLACK_WEBHOOKS_URL }}
42+
run: |
43+
curl -X POST -H 'Content-type: application/json' --data '{
44+
"text": "📦 *Initium* package *v${{ env.new_build }}* has been published to NuGet Packages."
45+
}' $SLACK_WEBHOOKS_URL
46+
3847
- name: Push to GitHub NuGet
3948
env:
4049
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

src/Initium/Initium.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Nullable>enable</Nullable>
77
<AssemblyName>Initium</AssemblyName>
88
<RootNamespace>Initium</RootNamespace>
9-
<Version>0.1.20</Version>
9+
<Version>0.1.23</Version>
1010
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1111
<PackageId>Initium</PackageId>
1212
<Title>Initium</Title>

0 commit comments

Comments
 (0)