Skip to content

Commit

Permalink
Add twitter publish
Browse files Browse the repository at this point in the history
  • Loading branch information
equiman committed Apr 19, 2020
1 parent 7f5825b commit 0e01fe4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,21 @@ jobs:
run: dotnet nuget push "${{ env.workspace }}/Package/dein.Colorify.${{ env.version }}.nupkg" -k ${{ secrets.NUGET_TOKEN }} -s "nuget" --skip-duplicate --no-symbols true
- name: publish nuget on github
run: dotnet nuget push "${{ env.workspace }}/Package/dein.Colorify.${{ env.version }}.nupkg" -s "github" --skip-duplicate --no-symbols true
tweet:
runs-on: ubuntu-latest
name: message
needs: pack
steps:
- uses: actions/checkout@v2
- name: setup Twitter
uses: ethomson/send-tweet-action@v1
with:
status: "$ dotnet add package dein.colorify\n
👆${{ env.version }} 🐛🛠\n
\n
Colorify - C# .Net Core Console Library with Text Format: colors, alignment and lot more [ for Win, Mac & Linux ]\n
https://github.com/deinsoftware/colorify"
consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

0 comments on commit 0e01fe4

Please sign in to comment.