30 lines
557 B
YAML
30 lines
557 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Build
|
|
run: |
|
|
cargo build --release --example parse_sv
|
|
cp target/release/examples/parse_sv bin/parse_sv
|
|
|
|
- name: Commit
|
|
uses: EndBug/add-and-commit@v2.1.0
|
|
with:
|
|
author_name: dalance
|
|
author_email: dalance@gmail.com
|
|
message: "Update bin"
|
|
path: "./bin"
|
|
pattern: "*"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|