WinPTY-rs release v0.3.13 #18
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: Windows release | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
windows: | |
name: Release | |
runs-on: windows-latest | |
env: | |
RUNNER_OS: "windows" | |
CI: "1" | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Install latest Rust stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: x86_64-pc-windows-msvc | |
override: true | |
components: rustfmt, clippy | |
- name: Install miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
activate-environment: test | |
channels: conda-forge,defaults | |
python-version: 3.7 | |
- name: Conda env info | |
shell: bash -l {0} | |
run: conda env list | |
- name: Install winpty | |
shell: bash -l {0} | |
run: conda install -y winpty | |
- name: Cargo build | |
shell: bash -l {0} | |
run: cargo build -vv --features conpty --features winpty | |
- name: Cargo publish | |
shell: bash -l {0} | |
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} |