mirror of
https://github.com/huhu/rust-search-extension
synced 2024-11-15 08:07:08 +00:00
22 lines
494 B
YAML
22 lines
494 B
YAML
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 }}
|
|
|