|
19 | 19 | - name: Upload x86 |
20 | 20 | |
21 | 21 | with: |
22 | | - name: x86 |
| 22 | + name: win32-x86 |
23 | 23 | path: x86/install/bin |
24 | 24 |
|
25 | 25 | - name: Build x64 |
|
32 | 32 | - name: Upload x64 |
33 | 33 | |
34 | 34 | with: |
35 | | - name: x64 |
| 35 | + name: win32-x64 |
36 | 36 | path: x64/install/bin |
37 | 37 |
|
38 | 38 | build-other: |
@@ -68,83 +68,10 @@ jobs: |
68 | 68 | env: |
69 | 69 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
70 | 70 | steps: |
71 | | - - name: Create release |
72 | | - id: create_release |
73 | | - uses: actions/create-release@master |
74 | | - with: |
75 | | - tag_name: ${{ github.ref }} |
76 | | - release_name: ${{ github.ref }} |
77 | | - body: ${{ github.ref }} |
78 | | - draft: true |
79 | | - prerelease: true |
80 | | - |
81 | | - - name: Download Windows-x86 |
82 | | - |
83 | | - with: |
84 | | - name: x86 |
85 | | - path: artifact/x86 |
86 | | - |
87 | | - - name: Zip x86 |
88 | | - uses: TheDoctor0/[email protected] |
89 | | - with: |
90 | | - |
91 | | - path: artifact/x86 |
92 | | - |
93 | | - - name: Upload x86 |
94 | | - |
95 | | - with: |
96 | | - upload_url: ${{ steps.create_release.outputs.upload_url }} |
97 | | - |
98 | | - |
99 | | - asset_content_type: application/tar+gzip |
100 | | - |
101 | | - - name: Download Windows-x64 |
102 | | - |
103 | | - with: |
104 | | - name: x64 |
105 | | - path: artifact/x64 |
106 | | - |
107 | | - - name: Zip x64 |
108 | | - uses: TheDoctor0/[email protected] |
109 | | - with: |
110 | | - |
111 | | - path: artifact/x64 |
112 | | - |
113 | | - - name: Upload x64 |
114 | | - |
115 | | - with: |
116 | | - upload_url: ${{ steps.create_release.outputs.upload_url }} |
117 | | - |
118 | | - |
119 | | - asset_content_type: application/tar+gzip |
120 | | - |
121 | | - - name: Download so |
122 | | - |
123 | | - with: |
124 | | - name: emmy_core.so |
125 | | - path: artifact |
126 | | - |
127 | | - - name: Upload so |
128 | | - |
129 | | - with: |
130 | | - upload_url: ${{ steps.create_release.outputs.upload_url }} |
131 | | - asset_path: artifact/emmy_core.so |
132 | | - asset_name: emmy_core.so |
133 | | - asset_content_type: application/gzip |
134 | | - |
135 | | - - name: Download dylib |
136 | | - |
137 | | - with: |
138 | | - name: emmy_core.dylib |
139 | | - path: artifact |
140 | | - |
141 | | - - name: Upload dylib |
142 | | - |
143 | | - with: |
144 | | - upload_url: ${{ steps.create_release.outputs.upload_url }} |
145 | | - asset_path: artifact/emmy_core.dylib |
146 | | - asset_name: emmy_core.dylib |
147 | | - asset_content_type: application/gzip |
| 71 | + - name: Download |
| 72 | + uses: actions/download-artifact@v2 |
| 73 | + - name: Display structure of downloaded files |
| 74 | + run: ls -R |
148 | 75 | - name: Release |
149 | 76 | uses: softprops/action-gh-release@v1 |
150 | 77 | if: startsWith(github.ref, 'refs/tags/') |
|
153 | 80 | draft: false |
154 | 81 | generate_release_notes: true |
155 | 82 | files: | |
156 | | - linux-x64.zip |
157 | | - darwin-x64.zip |
158 | | - darwin-arm64.zip |
159 | 83 | win32-x64.zip |
| 84 | + win32-x86.zip |
| 85 | + darwin-arm64.zip |
| 86 | + darwin-x64.zip |
| 87 | + linux-x64.zip |
160 | 88 | token: ${{ secrets.RELEASE }} |
0 commit comments