2020 strategy :
2121 matrix :
2222 include :
23- - name : " Windows "
23+ - name : " linux-amd64 "
2424 runs-on : " ubuntu-20.04"
2525 target : " x86_64-unknown-linux-gnu"
2626 platform : " amd64"
4040 runs-on : " ubuntu-20.04"
4141 target : " x86_64-pc-windows-gnu"
4242 platform : " windows"
43+ ext : " .exe"
4344
4445 runs-on : ${{ matrix.runs-on }}
4546
@@ -107,7 +108,7 @@ jobs:
107108 uses : actions/upload-artifact@v3
108109 with :
109110 name : dash-evo-tool-${{ matrix.target }}
110- path : target/${{ matrix.target }}/release/dash-evo-tool
111+ path : target/${{ matrix.target }}/release/dash-evo-tool${{ matrix.ext }}
111112
112113 # continue-on-error: true
113114
@@ -140,6 +141,12 @@ jobs:
140141 name : dash-evo-tool-aarch64-apple-darwin
141142 path : ./release/dash-evo-tool-aarch64-apple-darwin/
142143
144+ - name : Download Windows
145+ uses : actions/download-artifact@v3
146+ with :
147+ name : dash-evo-tool-x86_64-pc-windows-gnu
148+ path : ./release/dash-evo-tool-x86_64-pc-windows-gnu/
149+
143150 - name : Rename Linux X64 file
144151 run : mv ./release/dash-evo-tool-x86_64-unknown-linux-gnu/dash-evo-tool ./release/dash-evo-tool-x86_64-linux
145152
@@ -152,6 +159,9 @@ jobs:
152159 - name : Rename Mac ARM file
153160 run : mv ./release/dash-evo-tool-aarch64-apple-darwin/dash-evo-tool ./release/dash-evo-tool-aarch64-mac
154161
162+ - name : Rename Windows file
163+ run : mv ./release/dash-evo-tool-x86_64-pc-windows-gnu/dash-evo-tool.exe ./release/dash-evo-tool.exe
164+
155165 - name : Check dir
156166 run : ls -lah ./release/dash-evo-tool-aarch64-apple-darwin
157167
@@ -166,5 +176,6 @@ jobs:
166176 ./release/dash-evo-tool-aarch64-linux
167177 ./release/dash-evo-tool-x86_64-mac
168178 ./release/dash-evo-tool-aarch64-mac
179+ ./release/dash-evo-tool.exe
169180 draft : false
170181 prerelease : true
0 commit comments