Skip to content

Fix dependencies at minor versions #16

Fix dependencies at minor versions

Fix dependencies at minor versions #16

Workflow file for this run

on:
push:
tags:
- v*
name: Publish to crates.io
permissions:
contents: write
jobs:
check:
name: Publish to crates.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Hack publish-crates to not fail on paths
run: |
sed 's/, path = ".*"//' -i Cargo.toml
- uses: katyo/publish-crates@v2
with:
path: ./redis-macros-derive
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
ignore-unpublished-changes: true
- uses: katyo/publish-crates@v2
with:
path: ./
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
args: --allow-dirty
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: Changelog.md
token: ${{ secrets.GITHUB_TOKEN }}