feat: Update CI workflows: upgrade Actions versions, Python to 3.12, and CMake to 3.25 #544
This file contains hidden or 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 semantic-release@19.0.5 | |
| semantic-release | |
| sleep 10 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |