B:BD[
2.2212] → [
2.2212:2942]
windows-x86_64:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
default: true
- name: Build binary
uses: actions-rs/cargo@v1
with:
command: build
args: --release
use-cross: true
- name: Upload binary
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_name: histdb-rs-${{ github.event.release.tag-name }}-windows-x86_64.exe
asset_path: target/release/histdb-rs.exe
upload_url: ${{ github.event.release.upload_url }}
# Maybe someday
# windows-x86_64:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v1
#
# - uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: stable
# default: true
#
# - name: Build binary
# uses: actions-rs/cargo@v1
# with:
# command: build
# args: --release
# use-cross: true
#
# - name: Upload binary
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# asset_name: histdb-rs-${{ github.event.release.tag-name }}-windows-x86_64.exe
# asset_path: target/release/histdb-rs.exe
# upload_url: ${{ github.event.release.upload_url }}