Skip to content

Commit

Permalink
fix: install specific version of semantic-release (#223)
Browse files Browse the repository at this point in the history
* refactor: rewrite the two functions m_enforce and MerggeEffects

* fix: install specific version of semantic-release
  • Loading branch information
PokIsemaine authored Jan 15, 2023
1 parent befe482 commit 87d88c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
semantic-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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 semantic-release
yarn global add semantic-release@19.0.5
semantic-release
sleep 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 87d88c1

Please sign in to comment.