Skip to content

Commit 29ab908

Browse files
authored
ci: Fix release-please workflow (#205)
1 parent b854701 commit 29ab908

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/release-please.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ jobs:
77
release-please:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: GoogleCloudPlatform/release-please-action@v4
10+
- uses: googleapis/release-please-action@v4
1111
id: release
1212
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:
1516
- uses: actions/checkout@v4
1617
# these if statements ensure that a publication only occurs when
1718
# a new release is created:
@@ -29,10 +30,15 @@ jobs:
2930
if: ${{ steps.release.outputs.release_created }}
3031

3132
# 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 }}"'
3334
if: ${{ steps.release.outputs.release_created }}
3435
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 }}
3738
TWITTER_ACCESS_TOKEN_KEY: ${{ secrets.TWITTER_ACCESS_TOKEN_KEY }}
3839
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 }}

release-please-config.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"bootstrap-sha": "ce6ac122c2274206ae51585a17473efa9d85f72b",
23
"packages": {
34
".": {
45
"release-type": "node"

0 commit comments

Comments
 (0)