git.iko.soy/typeable/libphonenumber
on main help sign in
Upload haddocks for the candidate as well
commit9b2c67dac9a9a8bf7f082aa0df982be7045a739b authormniip <mniip@mniip.com> dateTue 21 Mar 2023, 18:25 (4 years ago) parent26de9d5
1 file changed+3
.github/workflows/ci.yaml+3
.github/workflows/ci.yaml+3
@@ -93,3 +93,6 @@ jobs:
9393 - name: Upload tarball to hackage
9494 run: |
9595 curl -X POST 'https://hackage.haskell.org/packages/candidates/' -H "Authorization: X-ApiKey ${{ secrets.HACKAGE_KEY }}" -F "package=@$dist" -w '%{url_effective}\n'
96+ - name: Upload haddocks to hackage
97+ run: |
98+ curl -X PUT "https://hackage.haskell.org/package/$(basename ${docs%-docs.tar.gz})/candidate/docs" -H "Authorization: X-ApiKey ${{ secrets.HACKAGE_KEY }}" -H 'Content-type: application/x-tar' -H 'Content-encoding: gzip' --data-binary "@$docs"