Merge pull request #3491 from modelscope/docs/llamacpp-campplus-bound… #23
Workflow file for this run
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 tag | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Create GitHub Release with auto-generated notes | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: | | |
| if ! gh release view "${{ github.ref_name }}" >/dev/null 2>&1; then | |
| gh release create "${{ github.ref_name }}" --generate-notes --verify-tag --title "${{ github.ref_name }}" | |
| fi | |
| - name: Add Runtime assets and downloads to GitHub Release | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: python scripts/update_release_runtime_downloads.py "${{ github.ref_name }}" |