File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 22
22
NODE_AUTH_TOKEN : ${{ inputs.npm_token }}
23
23
GITHUB_TOKEN : ${{ inputs.github_token }}
24
24
shell : bash
25
- run : pnpx nx affected --base=last-release --target=${{ inputs.release_target }} --parallel=1
25
+ run : pnpx nx affected --base=last-release --target=${{ inputs.release_target }} --parallel=1 --baseBranch=${{ github.ref_name }}
26
26
27
27
- name : Tag last-release
28
+ if : github.ref == 'refs/heads/main'
28
29
shell : bash
29
30
run : git tag -f last-release
30
31
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ jobs:
26
26
release :
27
27
runs-on : ubuntu-latest
28
28
29
- if : github.ref == 'refs/heads/main'
30
-
31
29
needs : [test]
32
30
33
31
steps :
34
32
- uses : actions/checkout@v3
33
+ with :
34
+ fetch-depth : 0
35
35
- name : Setup
36
36
uses : ./.github/actions/setup
37
37
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ jobs:
26
26
release :
27
27
runs-on : ubuntu-latest
28
28
29
- if : github.ref == 'refs/heads/main'
30
-
31
29
needs : [test]
32
30
33
31
steps :
34
32
- uses : actions/checkout@v3
33
+ with :
34
+ fetch-depth : 0
35
35
- name : Setup
36
36
uses : ./.github/actions/setup
37
37
You can’t perform that action at this time.
0 commit comments