|
58 | 58 | uses: actions/upload-artifact@v2 |
59 | 59 | with: |
60 | 60 | name: ${{ matrix.platform }} |
61 | | - path: ${{ github.workspace }}/artifact/ |
| 61 | + path: ${{ github.workspace }}/artifact/bin |
62 | 62 |
|
63 | 63 | upload-release: |
64 | 64 | name: Upload Release |
|
71 | 71 | - name: Download |
72 | 72 | uses: actions/download-artifact@v2 |
73 | 73 | - name: Display structure of downloaded files |
74 | | - run: ls -R |
| 74 | + run: ls -R |
| 75 | + - name: zip win32-x64 |
| 76 | + uses: TheDoctor0/zip-release@master |
| 77 | + with: |
| 78 | + filename: win32-x64.zip |
| 79 | + directory: win32-x64 |
| 80 | + path: | |
| 81 | + EasyHook.dll |
| 82 | + emmy_core.dll |
| 83 | + emmy_hook.dll |
| 84 | + emmy_tool.exe |
| 85 | +
|
| 86 | + - name: zip win32-x86 |
| 87 | + uses: TheDoctor0/zip-release@master |
| 88 | + with: |
| 89 | + filename: win32-x86.zip |
| 90 | + directory: win32-x86 |
| 91 | + path: | |
| 92 | + EasyHook.dll |
| 93 | + emmy_core.dll |
| 94 | + emmy_hook.dll |
| 95 | + emmy_tool.exe |
| 96 | + - name: zip linux-x64 |
| 97 | + uses: TheDoctor0/zip-release@master |
| 98 | + with: |
| 99 | + filename: linux-x64.zip |
| 100 | + directory: linux-x64 |
| 101 | + path: emmy_core.so |
| 102 | + - name: zip darwin-x64 |
| 103 | + uses: TheDoctor0/zip-release@master |
| 104 | + with: |
| 105 | + filename: darwin-x64.zip |
| 106 | + directory: darwin-x64 |
| 107 | + path: emmy_core.dylib |
| 108 | + - name: zip darwin-arm64 |
| 109 | + uses: TheDoctor0/zip-release@master |
| 110 | + with: |
| 111 | + filename: darwin-arm64.zip |
| 112 | + directory: darwin-arm64 |
| 113 | + path: emmy_core.dylib |
75 | 114 | - name: Release |
76 | 115 | uses: softprops/action-gh-release@v1 |
77 | 116 | if: startsWith(github.ref, 'refs/tags/') |
|
80 | 119 | draft: false |
81 | 120 | generate_release_notes: true |
82 | 121 | files: | |
83 | | - win32-x64.zip |
84 | | - win32-x86.zip |
85 | | - darwin-arm64.zip |
86 | | - darwin-x64.zip |
87 | | - linux-x64.zip |
| 122 | + win32-x64/win32-x64.zip |
| 123 | + win32-x86/win32-x86.zip |
| 124 | + darwin-arm64/darwin-arm64.zip |
| 125 | + darwin-x64/darwin-x64.zip |
| 126 | + linux-x64/linux-x64.zip |
88 | 127 | token: ${{ secrets.RELEASE }} |
0 commit comments