Fix MSIHANDLE parameter modification in Rust 1.78.0+ (#33) #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2024 Heath Stewart. | |
# Licensed under the MIT License. See LICENSE.txt in the project root for license information. | |
name: release | |
on: | |
push: | |
tags: | |
- "v*" | |
permissions: | |
contents: write | |
defaults: | |
run: | |
shell: pwsh | |
env: | |
CARGO_INCREMENTAL: 0 | |
RUSTFLAGS: -Dwarnings | |
jobs: | |
build: | |
uses: ./.github/workflows/ci.yml | |
with: | |
full: false | |
publish: | |
runs-on: windows-latest | |
needs: build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up toolchain | |
run: rustup show | |
- name: Release | |
run: gh release create ${{ github.ref_name }} --generate-notes | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish | |
run: cargo publish | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |