Skip to content

[newtype-uuid] version 1.2.1 #12

[newtype-uuid] version 1.2.1

[newtype-uuid] version 1.2.1 #12

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
persist-credentials: false
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- run: cargo publish -p newtype-uuid
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- uses: taiki-e/create-gh-release-action@72d65cee1f8033ef0c8b5d79eaf0c45c7c578ce3 # v1
with:
changelog: CHANGELOG.md
title: newtype-uuid $version
branch: main
prefix: newtype-uuid
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}