[bndbuild] Update the jinja example to use conditionnal build #235
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 build | |
on: | |
push: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: houseabsolute/actions-rust-cross@v0 | |
with: | |
command: build | |
toolchain: nightly-x86_64-pc-windows-msvc | |
target: x86_64-pc-windows-msvc | |
args: --release --bins | |
- uses: ncipollo/release-action@v1 | |
with: | |
token: "${{ secrets.GITHUB_TOKEN }}" | |
allowUpdates: true | |
removeArtifacts: false | |
prerelease: true | |
draft: false | |
tag: latest | |
name: "Development Build" | |
generateReleaseNotes: true | |
artifacts: "target/x86_64-pc-windows-msvc/release/*.exe" | |