mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
wip: refactor into fewer crates
This commit is contained in:
parent
c367a0444e
commit
77703d83a5
105 changed files with 64 additions and 131 deletions
33
deps/vst/.github/workflows/deploy.yml
vendored
Normal file
33
deps/vst/.github/workflows/deploy.yml
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: Deploy
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# Installs the latest stable rust, and all components needed for the rest of the CI pipeline.
|
||||
- name: Set up CI environment
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
|
||||
# Sanity check: make sure the release builds
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
|
||||
# Sanity check: make sure all tests in the release pass
|
||||
- name: Test
|
||||
run: cargo test --verbose
|
||||
|
||||
# Deploy to crates.io
|
||||
# Only works on github releases (tagged commits)
|
||||
- name: Deploy to crates.io
|
||||
env:
|
||||
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|
||||
run: cargo publish --token $CRATES_IO_TOKEN --manifest-path Cargo.toml
|
||||
Loading…
Add table
Add a link
Reference in a new issue