Test github actions type workflow
This commit is contained in:
parent
9fcf5a3e44
commit
aa845779b4
1 changed files with 28 additions and 4 deletions
|
@ -1,6 +1,30 @@
|
||||||
on: [push]
|
name: Build and Publish Rust Binary
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
build:
|
||||||
runs-on: docker
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: echo All Good
|
- name: Set up Rust
|
||||||
|
uses: actions/setup-rust@v1
|
||||||
|
with:
|
||||||
|
rust-version: stable
|
||||||
|
|
||||||
|
- name: Check out code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Build binary
|
||||||
|
run: cargo build --release
|
||||||
|
|
||||||
|
- name: Publish binary
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: version_name_generator
|
||||||
|
path: ./target/release/version_name_generator
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue