7
7
release-please :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : GoogleCloudPlatform /release-please-action@v4
10
+ - uses : googleapis /release-please-action@v4
11
11
id : release
12
12
with :
13
- release-type : ' node'
14
- # The logic below handles the npm publication:
13
+ token : ${{secrets.GITHUB_TOKEN}}
14
+
15
+ # The logic below handles the npm publication:
15
16
- uses : actions/checkout@v4
16
17
# these if statements ensure that a publication only occurs when
17
18
# a new release is created:
@@ -29,10 +30,15 @@ jobs:
29
30
if : ${{ steps.release.outputs.release_created }}
30
31
31
32
# Tweets out release announcement
32
- - run : ' npx @humanwhocodes/tweet "Env v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }} has been released!\n\nhttps://github.com/humanwhocodes/config-array/releases/tag/${{ steps.release.outputs.tag_name }}"'
33
+ - run : ' npx @humanwhocodes/crosspost -t -b -m "Env v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }} has been released!\n\nhttps://github.com/humanwhocodes/config-array/releases/tag/${{ steps.release.outputs.tag_name }}"'
33
34
if : ${{ steps.release.outputs.release_created }}
34
35
env :
35
- TWITTER_CONSUMER_KEY : ${{ secrets.TWITTER_CONSUMER_KEY }}
36
- TWITTER_CONSUMER_SECRET : ${{ secrets.TWITTER_CONSUMER_SECRET }}
36
+ TWITTER_API_CONSUMER_KEY : ${{ secrets.TWITTER_CONSUMER_KEY }}
37
+ TWITTER_API_CONSUMER_SECRET : ${{ secrets.TWITTER_CONSUMER_SECRET }}
37
38
TWITTER_ACCESS_TOKEN_KEY : ${{ secrets.TWITTER_ACCESS_TOKEN_KEY }}
38
39
TWITTER_ACCESS_TOKEN_SECRET : ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
40
+ MASTODON_ACCESS_TOKEN : ${{ secrets.MASTODON_ACCESS_TOKEN }}
41
+ MASTODON_HOST : ${{ secrets.MASTODON_HOST }}
42
+ BLUESKY_IDENTIFIER : ${{ vars.BLUESKY_IDENTIFIER }}
43
+ BLUESKY_HOST : ${{ vars.BLUESKY_HOST }}
44
+ BLUESKY_PASSWORD : ${{ secrets.BLUESKY_PASSWORD }}
0 commit comments