Skip to content

Commit

Permalink
Update build.yml [skip ci]
Browse files Browse the repository at this point in the history
Removed announce since Twitter hates developers
  • Loading branch information
timheuer authored Mar 14, 2023
1 parent 7927f5b commit 431dc83
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- '**/*.gitattributes'
- '**/*.all-contributorsrc'
- '**/devcontainer.json'
- '**/build.yml'
workflow_dispatch:
branches:
- master
Expand Down Expand Up @@ -132,22 +133,3 @@ jobs:
with:
name: signednupkg
path: .

announce:
needs: [build,deploy]
environment:
name: announcement
url: ${{ steps.send_tweet.outputs.tweeturl }}
if: ${{ contains(toJson(github.event.commits),'[skip announce]') == false }}
name: Tweet release
runs-on: ubuntu-latest
steps:
- name: Tweet release detail
id: send_tweet
uses: timheuer/send-tweet-action@master
with:
status: "Alexa.NET ${{ needs.build.outputs.version }} was just released! https://github.com/timheuer/alexa-skills-dotnet/ Thanks to all the contributors!"
consumer-key: ${{ secrets.TWITTER_API_KEY }}
consumer-secret: ${{ secrets.TWITTER_API_SECRET }}
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access-token-secret: ${{ secrets.TWITTER_ACCESS_SECRET }}

0 comments on commit 431dc83

Please sign in to comment.