File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 5050 profile : minimal
5151 toolchain : nightly
5252 target : ${{ matrix.target }}
53+ components : rust-src
54+ default : true
5355 override : true
5456
5557 - name : Build for ${{ matrix.target }}
6062 $target = "${{ matrix.target }}"
6163 $original = "target\$target\release\$env:PROJECT_NAME.dll"
6264
63- if ($target -eq "i686-pc-windows-msvc ") {
65+ if ($target -eq "i686-pc-windows-gnu ") {
6466 $renamed = "target\$target\release\$env:NAME_WIN32"
6567 } else {
6668 $renamed = "target\$target\release\$env:NAME_WIN64"
@@ -80,10 +82,11 @@ jobs:
8082 with :
8183 name : ${{ matrix.target }}-dll
8284 path : |
83- target/${{ matrix.target }}/release/${{ matrix.target == 'i686-pc-windows-msvc ' && env.NAME_WIN32 || env.NAME_WIN64 }}
85+ target/${{ matrix.target }}/release/${{ matrix.target == 'i686-pc-windows-gnu ' && env.NAME_WIN32 || env.NAME_WIN64 }}
8486
8587 version :
8688 needs : build
89+ if : ${{ success() }}
8790 runs-on : ubuntu-latest
8891
8992 steps :
@@ -121,7 +124,7 @@ jobs:
121124 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
122125 run : |
123126 gh release create ${{ env.TAG_NAME }} \
124- artifacts/i686-pc-windows-msvc -dll/${{ env.NAME_WIN32 }} \
125- artifacts/x86_64-pc-windows-msvc -dll/${{ env.NAME_WIN64 }} \
127+ artifacts/i686-pc-windows-gnu -dll/${{ env.NAME_WIN32 }} \
128+ artifacts/x86_64-pc-windows-gnu -dll/${{ env.NAME_WIN64 }} \
126129 --title "${{ env.TAG_NAME }}" \
127130 --notes "Automated plugin release"
You can’t perform that action at this time.
0 commit comments