update CI
Some checks failed
/ test_checkout (push) Failing after 2s

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2025-10-29 15:01:42 +01:00
parent e4db461a11
commit 391322a107
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2

View file

@ -3,7 +3,7 @@ jobs:
test_checkout:
runs-on: docker
container:
image: ghcr.io/typst/typst:v0.13.1
image: ghcr.io/typst/typst:v0.14
steps:
- run: apk add --no-cache git curl
- run: |
@ -26,11 +26,13 @@ jobs:
- run: |
cd "${GITHUB_WORKSPACE}"
/bin/typst compile --input commit=$(git rev-parse --short HEAD) --font-path /usr/share/fonts/ main.typ
/bin/typst compile --input draft=false --input abstract-only=true main.typ abstract.pdf
/bin/typst compile --input draft=false --input abstract-only=true --font-path /usr/share/fonts/ main.typ abstract.pdf
/bin/typst compile --font-path /usr/share/fonts/ slides.typ
- run: |
curl -s --show-headers --user "histausse:${{secrets.TOKEN_HISTAUSSE_PACKAGE}}" -X DELETE "${GITHUB_SERVER_URL}/api/packages/these-android-re/generic/thesis/latest/draft.pdf"
curl -s --show-headers --user "histausse:${{secrets.TOKEN_HISTAUSSE_PACKAGE}}" --upload-file "${GITHUB_WORKSPACE}/main.pdf" "${GITHUB_SERVER_URL}/api/packages/these-android-re/generic/thesis/latest/draft.pdf"
curl -s --show-headers --user "histausse:${{secrets.TOKEN_HISTAUSSE_PACKAGE}}" -X DELETE "${GITHUB_SERVER_URL}/api/packages/these-android-re/generic/thesis/latest/abstract.pdf"
curl -s --show-headers --user "histausse:${{secrets.TOKEN_HISTAUSSE_PACKAGE}}" --upload-file "${GITHUB_WORKSPACE}/main.pdf" "${GITHUB_SERVER_URL}/api/packages/these-android-re/generic/thesis/latest/abstract.pdf"
curl -s --show-headers --user "histausse:${{secrets.TOKEN_HISTAUSSE_PACKAGE}}" --upload-file "${GITHUB_WORKSPACE}/abstract.pdf" "${GITHUB_SERVER_URL}/api/packages/these-android-re/generic/thesis/latest/abstract.pdf"
curl -s --show-headers --user "histausse:${{secrets.TOKEN_HISTAUSSE_PACKAGE}}" -X DELETE "${GITHUB_SERVER_URL}/api/packages/these-android-re/generic/thesis/latest/slides.pdf"
curl -s --show-headers --user "histausse:${{secrets.TOKEN_HISTAUSSE_PACKAGE}}" --upload-file "${GITHUB_WORKSPACE}/slides.pdf" "${GITHUB_SERVER_URL}/api/packages/these-android-re/generic/thesis/latest/slides.pdf"
# curl -s --show-headers --user "histausse:${{secrets.TOKEN_HISTAUSSE_PACKAGE}}" --upload-file "${GITHUB_WORKSPACE}/main.pdf" "${GITHUB_SERVER_URL}/api/packages/these-android-re/generic/thesis/${GITHUB_SHA}/draft.pdf"