mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-21 05:40:01 +00:00
Compare commits
No commits in common. "3e279b813843ce9fa9ba29fba9ccfc538712f8f7" and "7106f6ccf7d687c7d21bfa90387736fe703edc29" have entirely different histories.
3e279b8138
...
7106f6ccf7
15
.github/workflows/docs-and-testcov.yml
vendored
15
.github/workflows/docs-and-testcov.yml
vendored
@ -108,18 +108,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.CUSTOM_GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.CUSTOM_GH_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
artifact_url=$(
|
artifact_url=$(gh api -H "Accept: application/vnd.github+json" \
|
||||||
curl -sSL \
|
/repos/${{ github.repository }}/actions/artifacts \
|
||||||
-H "Accept: application/vnd.github+json" \
|
| jq -r '.artifacts[] | select(.name | startswith("benchmark-reports")) | .archive_download_url' | head -n 1)
|
||||||
-H "Authorization: Bearer ${GH_TOKEN}" \
|
|
||||||
"https://api.github.com/repos/${{ github.repository }}/actions/artifacts" \
|
|
||||||
| jq -r '
|
|
||||||
.artifacts[]
|
|
||||||
| select(.name | startswith("benchmark-reports"))
|
|
||||||
| .archive_download_url
|
|
||||||
' \
|
|
||||||
| head -n 1
|
|
||||||
)
|
|
||||||
|
|
||||||
if [ -z "$artifact_url" ]; then
|
if [ -z "$artifact_url" ]; then
|
||||||
echo "No benchmark artifact found!"
|
echo "No benchmark artifact found!"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
# <img align="center" alt="Rustframe" src=".github/rustframe_logo.png" height="50px" /> rustframe
|
# <img align="center" alt="Rustframe" src=".github/rustframe_logo.png" height="50" /> rustframe
|
||||||
|
|
||||||
<!-- though the centre tag doesn't work as it would noramlly, it achieves the desired effect -->
|
<!-- though the centre tag doesn't work as it would noramlly, it achieves the desired effect -->
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user