Skip to content

v0.3.9

v0.3.9 #23

Workflow file for this run

name: CICD
on:
release:
types:
- published
workflow_dispatch:
jobs:
build_for_linux:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Upload to release
if: github.event_name != 'workflow_dispatch'
uses: taiki-e/upload-rust-binary-action@v1
with:
bin: lurk
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
publish:
name: crates.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Publish
run: cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }}