Skip to content

Fix Prelogin Response contents and case #12

Fix Prelogin Response contents and case

Fix Prelogin Response contents and case #12

Workflow file for this run

name: build-deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Ubuntu deps
run: sudo apt update -y && sudo apt install -y libudev-dev
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
- name: Set nightly toolchain
run: rustup default nightly
- name: Run tests
run: cargo t
- name: Build release
run: cargo build --release
- name: Rename binary
run: mv ./target/release/bw-agent bw-agent-x86_64-linux
- name: Define pre-release name
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Release
uses: softprops/action-gh-release@v1
with:
files: bw-agent-x86_64-linux
prerelease: true
tag_name: ${{ steps.vars.outputs.sha_short }}