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 2222 NODE_AUTH_TOKEN : ${{ inputs.npm_token }}
2323 GITHUB_TOKEN : ${{ inputs.github_token }}
2424 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 }}
2626
2727 - name : Tag last-release
28+ if : github.ref == 'refs/heads/main'
2829 shell : bash
2930 run : git tag -f last-release
3031
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ jobs:
2626 release :
2727 runs-on : ubuntu-latest
2828
29- if : github.ref == 'refs/heads/main'
30-
3129 needs : [test]
3230
3331 steps :
3432 - uses : actions/checkout@v3
33+ with :
34+ fetch-depth : 0
3535 - name : Setup
3636 uses : ./.github/actions/setup
3737
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ jobs:
2626 release :
2727 runs-on : ubuntu-latest
2828
29- if : github.ref == 'refs/heads/main'
30-
3129 needs : [test]
3230
3331 steps :
3432 - uses : actions/checkout@v3
33+ with :
34+ fetch-depth : 0
3535 - name : Setup
3636 uses : ./.github/actions/setup
3737
You can’t perform that action at this time.
0 commit comments