rust-search-extension/.github/workflows/build-binary.yml

23 lines
494 B
YAML
Raw Normal View History

2019-12-30 12:26:15 +00:00
name: build-binary
on:
repository_dispatch:
types: build-binary
jobs:
build:
name: Build release binary
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Build release binary"
run: |
cd rust
cargo build --release
- name: "Upload Artifact"
uses: actions/upload-artifact@master
with:
name: ${{ github.event.client_payload.bin }}
path: rust/target/release/${{ github.event.client_payload.bin }}