Revert to using `windows-msvc`

This commit is contained in:
Spencer Woo 2020-06-12 11:47:30 +08:00 committed by GitHub
parent d8d27d888e
commit c7e830cee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -41,11 +41,11 @@ jobs:
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: build command: build
args: --release --target x86_64-pc-windows-gnu args: --release --target x86_64-pc-windows-msvc
- uses: actions/upload-artifact@v1.0.0 - uses: actions/upload-artifact@v1.0.0
with: with:
name: "zoxide-x86_64-pc-windows-gnu.exe" name: "zoxide-x86_64-pc-windows-msvc.exe"
path: "target/x86_64-pc-windows-gnu/release/zoxide.exe" path: "target/x86_64-pc-windows-msvc/release/zoxide.exe"
release-upload: release-upload:
needs: needs:
@ -113,12 +113,12 @@ jobs:
- uses: actions/download-artifact@v1 - uses: actions/download-artifact@v1
with: with:
name: "zoxide-x86_64-pc-windows-gnu.exe" name: "zoxide-x86_64-pc-windows-msvc.exe"
- uses: actions/upload-release-asset@v1 - uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "zoxide-x86_64-pc-windows-gnu/zoxide" asset_path: "zoxide-x86_64-pc-windows-msvc/zoxide"
asset_name: "zoxide-x86_64-pc-windows-gnu.exe" asset_name: "zoxide-x86_64-pc-windows-msvc.exe"
asset_content_type: application/octet-stream asset_content_type: application/octet-stream