diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ac6fb3e..64b9ef31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} \ No newline at end of file