Skip to content

Release 1.0.5: Significantly reduce package size. #6

Release 1.0.5: Significantly reduce package size.

Release 1.0.5: Significantly reduce package size. #6

Workflow file for this run

# Mostly copied from https://github.com/taiki-e/cargo-hack/blob/72a9fc95377c453a18026329577c59fa60bfa737/.github/workflows/release.yml
name: Release
permissions:
# TODO: once `releases: write` is supported, use it instead.
contents: write
on:
push:
tags:
- v*.*.*
env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTFLAGS: -D warnings
RUSTUP_MAX_RETRIES: 10
defaults:
run:
# Setting shell: bash explicitly activates pipefail
shell: bash
jobs:
create-release:
if: github.repository_owner == 'danielparks'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Rust
run: rustup update stable --no-self-update
- run: cargo package
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
title: Release $version
branch: main
token: ${{ secrets.GITHUB_TOKEN }}