Test github actions type workflow
This commit is contained in:
parent
30e9ee70b4
commit
745a6a221e
1 changed files with 0 additions and 8 deletions
|
@ -1,30 +1,22 @@
|
||||||
name: Build and Publish Rust Binary
|
name: Build and Publish Rust Binary
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
uses: actions/setup-rust@v1
|
uses: actions/setup-rust@v1
|
||||||
with:
|
with:
|
||||||
rust-version: stable
|
rust-version: stable
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
|
|
||||||
- name: Publish binary
|
- name: Publish binary
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: version_name_generator
|
name: version_name_generator
|
||||||
path: ./target/release/version_name_generator
|
path: ./target/release/version_name_generator
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue