Skip to content

Merge pull request #14 from LFDT-Lockness/discord #14

Merge pull request #14 from LFDT-Lockness/discord

Merge pull request #14 from LFDT-Lockness/discord #14

Workflow file for this run

on:
push:
tags:
- 'v*'
- 'derive-v*'
workflow_dispatch:
name: Publish
env:
CARGO_TERM_COLOR: always
CARGO_NET_GIT_FETCH_WITH_CLI: true
jobs:
publish-round-based:
name: Publish udigest
environment: crates.io
runs-on: ubuntu-latest
if: >-
github.ref_type == 'tag'
&& startsWith(github.ref_name, 'v')
steps:
- uses: actions/checkout@v3
- run: cargo publish -p udigest --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
publish-derive:
name: Publish udigest-derive
environment: crates.io
runs-on: ubuntu-latest
if: >-
github.ref_type == 'tag'
&& startsWith(github.ref_name, 'derive-v')
steps:
- uses: actions/checkout@v3
- run: cargo publish -p udigest-derive --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}