feat: improve the synced enforcer like Go casbin #501
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
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 }} |