Merge pull request #6 from ramiroaisen/docs-example-config-default #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- "v*.*.*" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Publish metre-macros | |
working-directory: ./metre-macros | |
run: cargo publish --token ${{ secrets.CRATES_TOKEN }} | |
- name: Publish metre | |
working-directory: ./metre | |
run: cargo publish --token ${{ secrets.CRATES_TOKEN }} | |
- name: Publish release | |
uses: ghalactic/github-release-from-tag@v5 |