Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full API Implementation #75

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 11 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,17 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest
name: Dotnet build
steps:
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- run: |
git branch master origin/master
if: github.event_name != 'push' || (github.event_name == 'push' && github.ref != 'refs/heads/master')
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: "2.2.103"
- name: Checkout
uses: actions/checkout@v1
- name: Build
run: .\build.ps1
shell: pwsh
id: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NUGET_TOKEN: ${{ secrets.NugetKey }}
- name: Add artifacts
uses: actions/upload-artifact@v1
with:
name: ${{ steps.build.outputs.nupkg_name }}
path: ${{ steps.build.outputs.nupkg }}
run: dotnet build -c Release --nologo
- name: Run Unit Tests
run: dotnet test -c Release --no-build --nologo
- name: Push to Feedz.io
run: dotnet nuget push "src/Slack.Webhooks/bin/Release/*.nupkg" --source "https://f.feedz.io/mrb0nj/slack-webhooks/nuget/index.json" -k ${{ secrets.FEEDZIO_TOKEN }} -n true
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v'))
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,6 @@ Generated_Code #added for RIA/Silverlight projects
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
/src/.vs/Slack.Webhooks/v15/Server/sqlite3
/.vs
**/.vscode
**/.vs
.idea
6 changes: 0 additions & 6 deletions GitVersion.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Slack.Webhooks ![Continuous Stuff](https://github.com/mrb0nj/Slack.Webhooks/workflows/Continuous%20Stuff/badge.svg?branch=master) [![NuGet Version](http://img.shields.io/nuget/v/Slack.Webhooks.svg?style=flat)](https://www.nuget.org/packages/Slack.Webhooks/)
# Slack.Webhooks ![Continuous Stuff](https://github.com/mrb0nj/Slack.Webhooks/workflows/Continuous%20Stuff/badge.svg?branch=master) [![NuGet Version](http://img.shields.io/nuget/v/Slack.Webhooks.svg?style=flat)](https://www.nuget.org/packages/Slack.Webhooks/) [![feedz.io](https://img.shields.io/badge/endpoint.svg?url=https%3A%2F%2Ff.feedz.io%2Fmrb0nj%2Fslack-webhooks%2Fshield%2FSlack.Webhooks%2Flatest&label=Slack.Webhooks)](https://f.feedz.io/mrb0nj/slack-webhooks/packages/Slack.Webhooks/latest/download)

Even simpler integration with Slack's Incoming/Outgoing webhooks API for .net

Expand Down
4 changes: 2 additions & 2 deletions src/Slack.Webhooks.sln → Slack.Webhooks.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Slack.Webhooks", "Slack.Webhooks\Slack.Webhooks.csproj", "{53751B1B-A63E-4E4F-988C-BC783E68B15F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Slack.Webhooks", "src\Slack.Webhooks\Slack.Webhooks.csproj", "{53751B1B-A63E-4E4F-988C-BC783E68B15F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Slack.Webhooks.Tests", "Slack.Webhooks.Tests\Slack.Webhooks.Tests.csproj", "{5ABDDE87-A87C-495C-A5CE-01C23C9E2F62}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Slack.Webhooks.Tests", "src\Slack.Webhooks.Tests\Slack.Webhooks.Tests.csproj", "{5ABDDE87-A87C-495C-A5CE-01C23C9E2F62}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
188 changes: 0 additions & 188 deletions build.cake

This file was deleted.

Loading