File tree Expand file tree Collapse file tree 2 files changed +18
-37
lines changed Expand file tree Collapse file tree 2 files changed +18
-37
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Publish NuGet Package
1
+ name : Release - Publish NuGet Package
2
2
3
3
on :
4
- pull_request :
5
- types :
6
- - closed
4
+ push :
7
5
branches :
8
- - " master"
9
-
10
- # workflow_run:
11
- # workflows: ["release-please"]
12
- # branches: [master]
13
- # types:
14
- # - completed
15
-
16
- # push:
17
- # branches:
18
- # - release/* # Default release branch
6
+ - master
19
7
20
8
jobs :
9
+ release-please :
10
+ runs-on : ubuntu-latest
11
+ permissions :
12
+ contents : write
13
+ pull-requests : write
14
+ issues : write
15
+ steps :
16
+ - uses : googleapis/release-please-action@v4
17
+ with :
18
+ target-branch : ${{ github.ref_name }}
19
+ manifest-file : .release-please-manifest.json
20
+ config-file : release-please-config.json
21
+
21
22
publish :
22
- if : ${{ github.event.pull_request.merged == true && github.repository_owner == 'diegofesanto' && startsWith(github.event.head_commit.message, 'chore(master)') && github.ref == 'refs/heads/master' && github.event_name == 'push' }}
23
+ needs : release-please
24
+ if : ${{ github.repository_owner == 'supabase-community' && startsWith(github.event.head_commit.message, 'chore(master)') && github.ref == 'refs/heads/master' && github.event_name == 'push' }}
23
25
name : build, pack & publish
24
26
runs-on : ubuntu-latest
25
27
steps :
You can’t perform that action at this time.
0 commit comments