-
Notifications
You must be signed in to change notification settings - Fork 362
130 lines (103 loc) · 4.3 KB
/
publish-github.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
name: Publish To Github
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
name: 'publish npm'
environment: github-npm
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
always-auth: true
node-version: ${{ matrix.node-version }}
registry-url: https://npm.pkg.github.com
scope: '@vovgou'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- run: |
npm config set //npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish Loxodon.Framework
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework/Assets/LoxodonFramework
npm publish
- name: Publish Loxodon.Framework.Addressable
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Addressable/Assets/LoxodonFramework/Addressable
npm publish
- name: Publish Loxodon.Framework.Connection
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Connection/Assets/LoxodonFramework/Connection
npm publish
- name: Publish Loxodon.Framework.FairyGUI
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.FairyGUI/Assets/LoxodonFramework/FairyGUI
npm publish
- name: Publish Loxodon.Framework.ILRuntime
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.ILRuntime/Assets/LoxodonFramework/ILRuntime
npm publish
- name: Publish Loxodon.Framework.LocalizationsForCsv
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.LocalizationsForCsv/Assets/LoxodonFramework/LocalizationsForCsv
npm publish
- name: Publish Loxodon.Framework.Log4Net
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Log4Net/Assets/LoxodonFramework/Log4Net
npm publish
- name: Publish Loxodon.Framework.NLog
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.NLog/Assets/LoxodonFramework/NLog
npm publish
- name: Publish Loxodon.Framework.Obfuscation
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Obfuscation/Assets/LoxodonFramework/Obfuscation
npm publish
- name: Publish Loxodon.Framework.UIToolkit
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.UIToolkit/Assets/LoxodonFramework/UIToolkit
npm publish
- name: Publish Loxodon.Framework.TextFormatting
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.TextFormatting/Assets/LoxodonFramework/TextFormatting
npm publish
- name: Publish Loxodon.Framework.TextMeshPro
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.TextMeshPro/Assets/LoxodonFramework/TextMeshPro
npm publish
- name: Publish Loxodon.Framework.Fody
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Fody/Packages/com.vovgou.loxodon-framework-fody
npm publish
- name: Publish Loxodon.Framework.Fody.PropertyChanged
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Fody/Packages/com.vovgou.loxodon-framework-fody-propertychanged
npm publish
- name: Publish Loxodon.Framework.Fody.ToString
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Fody/Packages/com.vovgou.loxodon-framework-fody-tostring
npm publish
- name: Publish Loxodon.Framework.Fody.BindingProxy
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Fody/Packages/com.vovgou.loxodon-framework-fody-bindingproxy
npm publish
- name: Publish Loxodon.Framework.Data
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Data/Packages/com.vovgou.loxodon-framework-data
npm publish
- name: Publish Loxodon.Framework.Data.LiteDB
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Data/Packages/com.vovgou.loxodon-framework-data-litedb
npm publish
- name: Publish Loxodon.Framework.Data.Newtonsoft
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Data/Packages/com.vovgou.loxodon-framework-data-newtonsoft
npm publish