fix: fix "unknown target triple: aarch64-pc-windows-gnullvm" bug in CI #13
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
name: Auto Release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
name: Auto Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@master | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
default: true | |
- name: Install release tool | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: semantic-release-rust --version 1.0.0-alpha.8 | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v2 | |
id: semantic | |
with: | |
semantic_version: 17.1.1 | |
extra_plugins: | | |
@semantic-release/exec@5.0 | |
@semantic-release/git@9.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }} | |
- name: Auto commit | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'chore: bump version' | |
file_path: Cargo.toml | |
commit_author: Release Action <actions@github.com> |