Disable unused crates #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly release | |
on: | |
push: | |
tags: | |
- "nv*.*.*" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# Install cross for cross installation | |
- uses: actions-rs/[email protected] | |
with: | |
crate: cross | |
version: latest | |
- name: Build linux | |
run: cargo build --release | |
- name: Build windows | |
run: cross build --release --target x86_64-pc-windows-gnu | |
- name: Rename windows bin | |
run: mv target/x86_64-pc-windows-gnu/release/wt_ext_cli.exe target/x86_64-pc-windows-gnu/release/wt_ext_cli-windows-x86.exe | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
generate_release_notes: true | |
prerelease: true | |
files: | | |
target/release/wt_ext_cli | |
target/x86_64-pc-windows-gnu/release/wt_ext_cli-windows-x86.exe | |
LICENSE |