Skip to content

Commit 79fe36d

Browse files
committed
fix: back to single job
1 parent 65c9fe4 commit 79fe36d

1 file changed

Lines changed: 13 additions & 22 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,29 @@ name: Release Please
22

33
on:
44
push:
5-
branches: [master]
5+
branches:
6+
- master
67

78
jobs:
8-
# 1) Prepare the bump PR (sync extra-files, manifest, etc)
9-
prepare:
9+
release:
10+
name: Release
1011
runs-on: ubuntu-latest
11-
permissions:
12-
contents: write
13-
pull-requests: write
14-
issues: write
15-
steps:
16-
- uses: actions/checkout@v4
17-
- uses: googleapis/release-please-action@v4
18-
with:
19-
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
20-
config-file: release-please-config.json
21-
manifest-file: .release-please-manifest.json
2212

23-
# 2) Publish (tag & GitHub Release) using the old inputs
24-
publish:
25-
needs: prepare
26-
runs-on: ubuntu-latest
27-
if: github.event_name == 'push'
2813
permissions:
2914
contents: write
3015
pull-requests: write
3116
issues: write
17+
3218
steps:
3319
- uses: actions/checkout@v4
20+
3421
- uses: googleapis/release-please-action@v4
22+
id: release
3523
with:
36-
# no config/manifest here → it will pick up your merged PR #22
24+
# required for tagging + GitHub Release
3725
release-type: node
38-
repo-url: anmol210202/rating-aggregator-
39-
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
26+
repo-url: anmol210202/rating-aggregator-
27+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
28+
# your existing config+manifest
29+
config-file: release-please-config.json
30+
manifest-file: .release-please-manifest.json

0 commit comments

Comments
 (0)