Commit fb7b0bc sfopsbot
committed
1 parent 70c6064 commit fb7b0bc Copy full SHA for fb7b0bc
File tree 2 files changed +43
-1
lines changed
2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Manual Package Publish
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ branch :
7
+ description : ' Branch to publish from'
8
+ required : true
9
+ default : ' main'
10
+
11
+ jobs :
12
+ publish-package :
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : read
16
+ packages : write
17
+
18
+ steps :
19
+ - name : Checkout code
20
+ uses : actions/checkout@v4
21
+ with :
22
+ ref : ${{ github.event.inputs.branch }}
23
+
24
+ - name : Setup Node.js
25
+ uses : actions/setup-node@v4
26
+ with :
27
+ node-version : 20
28
+ registry-url : ' https://npm.pkg.github.com'
29
+
30
+ - name : Install dependencies
31
+ run : npm ci
32
+
33
+ - name : Build package
34
+ run : npm run build
35
+
36
+ - name : Publish package
37
+ run : npm publish
38
+ env :
39
+ NODE_AUTH_TOKEN : ${{ secrets.GHA_TOKEN }}
Original file line number Diff line number Diff line change 1
- # sfprofiles
1
+ # sfprofiles
2
+
3
+
4
+ Internal library used by sfp for reconciling profiles
You can’t perform that action at this time.
0 commit comments