-
Notifications
You must be signed in to change notification settings - Fork 16
154 lines (129 loc) · 4.32 KB
/
move-assets.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
name: Move Assets to Release
on:
push:
tags:
- '*'
jobs:
download_assets:
runs-on: ubuntu-latest
steps:
- name: Fetch Windows exe
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-windows.yml
name: nlpw.exe
- name: Fetch Windows icu1
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-windows.yml
name: "icudt74.dll"
- name: Fetch Windows icu2
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-windows.yml
name: "icuuc74.dll"
- name: Fetch Linux exe
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-linux.yml
name: nlpl.exe
- name: Fetch MacOS exe
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-macos.yml
name: nlpm.exe
- name: Fetch Engine Files
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-enginefiles.yml
name: "nlpengine.zip"
- name: Fetch VisualText Files
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-visualfiles.yml
name: "visualtext.zip"
- name: Create Release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Add nlpw asset
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "./nlpw.exe"
- name: Add nlpl asset
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "./nlpl.exe"
- name: Fetch Linux icu1
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-linux.yml
name: "libicutu.a"
- name: Fetch Linux icu2
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-linux.yml
name: "libicuuc.a"
- name: Add nlpm.exe asset
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "./nlpm.exe"
- name: Fetch MacOS icu1
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-macos.yml
name: "libicutum.a"
- name: Fetch MacOS icu2
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-macos.yml
name: "libicuucm.a"
- name: Add icudt74.dll asset
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "./icudt74.dll"
- name: Add icuuc74.dll asset
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "./icuuc74.dll"
- name: Add libicutu.a asset
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "./libicutu.a"
- name: Add libicuuc.a asset
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "./libicuuc.a"
- name: Add libicutum.a asset
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "./libicutum.a"
- name: Add libicuucm.a asset
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "./libicuucm.a"
- name: Add nlpengine.zip asset
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "./nlpengine.zip"
- name: Add visualtext.zip asset
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "./visualtext.zip"