Skip to content

chore: update to version 0.4.1 #17

chore: update to version 0.4.1

chore: update to version 0.4.1 #17

Workflow file for this run

name: release
permissions:
contents: write
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Wait for tests to succeed
uses: lewagon/wait-on-check-action@v1.0.0
with:
ref: ${{ github.ref }}
check-regexp: tests.*
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Install stable
uses: dtolnay/rust-toolchain@stable
- name: cargo publish
run: cargo publish --token ${{ secrets.CRATES_TOKEN }}
create-release:
needs: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
with:
# (Optional)
changelog: CHANGELOG.md
# (Optional) Format of title.
# [default value: $tag]
# [possible values: variables $tag, $version, and any string]
title: $version
# (Required) GitHub token for creating GitHub Releases.
token: ${{ secrets.GITHUB_TOKEN }}