fix(ci): correct tag for checkout (#150)

This commit is contained in:
Aaron Pham
2023-07-25 14:11:03 -04:00
committed by GitHub
parent e0a90c8d7e
commit 4fae00b68b
3 changed files with 15 additions and 9 deletions

View File

@@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: 'v${{ inputs.tags }}'
ref: '${{ inputs.tags }}'
- name: Setup CI
uses: ./.github/actions/setup-repo
with:

View File

@@ -1,5 +1,7 @@
![Banner for OpenLLM](/assets/main-banner.png)
<!-- hatch-fancy-pypi-readme intro start -->
<div align="center">
<h1 align="center">🦾 OpenLLM</h1>
<a href="https://pypi.org/project/openllm">
@@ -50,6 +52,7 @@ Images or deploy as serverless endpoint via
<!-- hatch-fancy-pypi-readme intro stop -->
![Gif showing OpenLLM Intro](/assets/output.gif)
<br/>
<!-- hatch-fancy-pypi-readme interim start -->
@@ -751,3 +754,5 @@ url = {https://github.com/bentoml/OpenLLM},
year = {2023}
}
```
<!-- hatch-fancy-pypi-readme meta stop -->

View File

@@ -5,36 +5,37 @@ content-type = "text/markdown"
text = """
<p align="center">
<a href="https://github.com/bentoml/openllm">
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/main-banner.png" width="35%" alt="Banner for OpenLLM" />
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/main-banner.png" alt="Banner for OpenLLM" />
</a>
</p>
"""
[[metadata.hooks.fancy-pypi-readme.fragments]]
end-before = "\n<!-- hatch-fancy-pypi-readme intro stop -->\n"
path = "README.md"
end-before = "\n<!-- hatch-fancy-pypi-readme intro stop -->"
start-after = "<!-- hatch-fancy-pypi-readme intro start -->\n"
[[metadata.hooks.fancy-pypi-readme.fragments]]
text = """
<p align="center">
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/output.gif" width="35%" alt="Gif showing OpenLLM Intro" />
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/output.gif" alt="Gif showing OpenLLM Intro" />
</p>
"""
[[metadata.hooks.fancy-pypi-readme.fragments]]
end-before = "\n<!-- hatch-fancy-pypi-readme interim stop -->\n"
path = "README.md"
start-after = "<!-- hatch-fancy-pypi-readme interim start -->\n"
end-before = "\n<!-- hatch-fancy-pypi-readme interim stop -->"
[[metadata.hooks.fancy-pypi-readme.fragments]]
text = """
<p align="center">
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/agent.gif" width="35%" alt="Gif showing Agent integration" />
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/agent.gif" alt="Gif showing Agent integration" />
</p>
"""
[[metadata.hooks.fancy-pypi-readme.fragments]]
end-before = "\n<!-- hatch-fancy-pypi-readme meta stop -->"
path = "README.md"
start-after = "<!-- hatch-fancy-pypi-readme meta start -->\n"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
[[metadata.hooks.fancy-pypi-readme.fragments]]
text = """
## Release Information
@@ -43,7 +44,7 @@ text = """
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
path = "CHANGELOG.md"
pattern = "\n(###.+?\n)## "
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
[[metadata.hooks.fancy-pypi-readme.fragments]]
text = """
---