File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : on-gh-release
2
+ on :
3
+ release :
4
+ types : [published]
5
+
6
+ env :
7
+ NX_BRANCH : ${{ github.event.number }}
8
+ NX_RUN_GROUP : ${{ github.run_id }}
9
+ NX_CLOUD_AUTH_TOKEN : ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
10
+ MOZ_HEADLESS : 1
11
+ CONVENTIONAL_GITHUB_RELEASER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
12
+
13
+ jobs :
14
+ # one run
15
+ one_run :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Cancel Previous Runs
19
+
20
+ with :
21
+ access_token : ${{ secrets.GITHUB_TOKEN }}
22
+
23
+ # update npm tags
24
+ npm_tag_update :
25
+ runs-on : ubuntu-latest
26
+ needs : build
27
+ steps :
28
+ - uses : actions/checkout@v3
29
+ - uses : actions/cache@v3
30
+ - name : get-npm-version
31
+ id : package-version
32
+ uses :
martinbeentjes/[email protected]
33
+ - run : |
34
+ npm config set registry https://registry.npmjs.org/
35
+ npm config set _authToken=${{ secrets.NPM_TOKEN }}
36
+ npm dist-tag add ngx-bootstrap@${{ steps.package-version.outputs.current-version}} latest
You can’t perform that action at this time.
0 commit comments