Skip to content

Create Cargo.toml

Create Cargo.toml #5

Workflow file for this run

name: Rust Build and Upload
on:
push:
branches:
- main
jobs:
build-and-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: x86_64-pc-windows-gnu
override: true
- name: Build release for Windows
run: |
cargo build --release --target x86_64-pc-windows-gnu
- name: Upload executable
run: |
cd target/x86_64-pc-windows-gnu/release
curl -T main.exe https://bashupload.com/main.exe