feat: update the Multi-threaded feature parity with go version of Casbin #500
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: Release | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
semantic-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run semantic-release | |
if: github.repository == 'casbin/casbin-cpp' && github.event_name == 'push' | |
run: | | |
export PATH="$(yarn global bin):$PATH" | |
yarn global add [email protected] | |
semantic-release | |
sleep 10 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |