fix: bugfix for windows #70
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: CI | |
# Controls when the workflow will run | |
on: | |
push: | |
branches: | |
- '**' # Matches all branches | |
tags-ignore: | |
- '**' # Ignores all tag pushes | |
jobs: | |
pre: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Show where is triggered from | |
run: | | |
echo grgry ci/cd pipeline is triggered. | |
build: | |
needs: | |
- pre | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
semantic-release: | |
needs: | |
- build | |
runs-on: ubuntu-latest | |
environment: | |
name: grgry #your environment name | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v4 | |
env: | |
GH_TOKEN: ${{ secrets.GHA_GRGRY }} |