Skip to content

[newtype-uuid] version 0.2.0 #2

[newtype-uuid] version 0.2.0

[newtype-uuid] version 0.2.0 #2

Workflow file for this run

# adapted from https://github.com/taiki-e/cargo-hack/blob/main/.github/workflows/release.yml
name: Publish release
on:
push:
tags:
- "*"
jobs:
create-release:
if: github.repository_owner == 'oxidecomputer'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
persist-credentials: false
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- uses: taiki-e/create-gh-release-action@8df4de6534ceacdaed10a08f73418ca751f31793 # v1
with:
changelog: CHANGELOG.md
title: newtype-uuid $version
branch: main
prefix: newtype-uuid
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}