Skip to content

Commit

Permalink
Adding release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eeclfrei committed Mar 22, 2021
1 parent 11dd0b2 commit af30fd7
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release

on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- run: |
sudo apt update
sudo apt install -yq build-essential
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
name: Build
with:
command: build
args: --release --manifest-path lib/Cargo.toml
- uses: softprops/action-gh-release@v1
name: Release
with:
files: |
lib/target/release/phylum-cli
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit af30fd7

Please sign in to comment.