Skip to content

Commit

Permalink
Upload Conda packages (resolves #119)
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Sep 23, 2023
1 parent f99cd30 commit f1783e7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,13 @@ jobs:
with:
name: Conda packages
path: conda/out/
- name: Install anaconda-client
run: conda install -y anaconda-client
- name: Upload to Anaconda
if: env.ANACONDA_API_TOKEN && startsWith(github.event.inputs.branch, 'chromium/') && github.event.inputs.version && github.event.inputs.publish == 'true'
run: find conda/out -name 'pdfium-binaries-*.tar.bz2' -exec anaconda upload --force {} \;
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}

publish:
name: Publish Release
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@

[![Patches](https://github.com/bblanchon/pdfium-binaries/actions/workflows/patch.yml/badge.svg?branch=master)](https://github.com/bblanchon/pdfium-binaries/actions/workflows/patch.yml)
[![Total downloads](https://img.shields.io/github/downloads/bblanchon/pdfium-binaries/total)](https://github.com/bblanchon/pdfium-binaries/releases/)
[![Latest release](https://img.shields.io/github/v/release/bblanchon/pdfium-binaries?display_name=release&include_prereleases)](https://github.com/bblanchon/pdfium-binaries/releases/latest/)

[![Latest release](https://img.shields.io/github/v/release/bblanchon/pdfium-binaries?display_name=release&label=github)](https://github.com/bblanchon/pdfium-binaries/releases/latest/)
[![Nuget](https://img.shields.io/nuget/v/bblanchon.PDFium)](https://www.nuget.org/packages/bblanchon.PDFium/)
![Conda](https://img.shields.io/conda/v/bblanchon/pdfium-binaries?label=conda)


This project hosts pre-compiled binaries of the [PDFium library](https://pdfium.googlesource.com/pdfium/), an open-source library for PDF manipulation and rendering.

Expand Down

0 comments on commit f1783e7

Please sign in to comment.