File tree 3 files changed +18
-4
lines changed 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 1
- name : Internal Build Github Packages
1
+ name : Build Github Packages
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ inputs :
6
+ build_type :
7
+ description : Build Type
8
+ required : true
9
+ default : alpha
10
+ type : choice
11
+ options :
12
+ - alpha
13
+ - release
5
14
6
15
jobs :
7
16
internal-build :
35
44
npm config set @arduino:registry=https://npm.pkg.github.com/ //npm.pkg.github.com/:_authToken=${REPO_ACCESS_TOKEN}
36
45
37
46
- name : Set package version
38
- run : npm version ${PKG_VERSION}-${RUN_NUM}
47
+ run : |
48
+ if [ ${{ inputs.build_type }} == "alpha" ]; then
49
+ npm version ${PKG_VERSION}-alpha.${RUN_NUM}
50
+ else
51
+ npm version ${PKG_VERSION}
52
+ fi
39
53
40
54
- name : Publish GH Package
41
55
run : npm publish
Original file line number Diff line number Diff line change 61
61
"prettier" : " 2.8.8" ,
62
62
"react" : " 16.11.0" ,
63
63
"react-native" : " 0.62.2" ,
64
- "react-native-builder-bob" : " ^ 0.30.2" ,
64
+ "react-native-builder-bob" : " 0.30.2" ,
65
65
"release-it" : " 13.7.1" ,
66
66
"typescript" : " 5.0.4"
67
67
},
Original file line number Diff line number Diff line change @@ -9207,7 +9207,7 @@ react-is@^18.0.0:
9207
9207
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.3.1.tgz#e83557dc12eae63a99e003a46388b1dcbb44db7e"
9208
9208
integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==
9209
9209
9210
- react-native-builder-bob@^ 0.30.2:
9210
+ react-native-builder-bob@0.30.2:
9211
9211
version "0.30.2"
9212
9212
resolved "https://registry.yarnpkg.com/react-native-builder-bob/-/react-native-builder-bob-0.30.2.tgz#3084995f17c4867c322202df065740d49142ccf2"
9213
9213
integrity sha512-tkBlzQw+h96YVQbU7GVbSReYNj00IJzIsStrdXCyq3Z2kjpNcG8V0w8HhvOSDsX0SRVvqorzqpbUFeqg57XXDA==
You can’t perform that action at this time.
0 commit comments