Skip to content

Remove all from artifactory #22

Remove all from artifactory

Remove all from artifactory #22

Workflow file for this run

name: Remove package from artifactory
on:
workflow_dispatch:
inputs:
package_name:
description: Package name
type: choice
options:
- all
- odrcore
- pdf2htmlex
- fontforge
- poppler
- poppler-data
- cairo
- openlibm
- fontconfig
- glib
- tmpfile
- libgsf
- libwmf
- wvware
run-name: Remove ${{ inputs.package_name }} from artifactory
jobs:
remove:
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-python@v5
with:
python-version: 3.12
- run: pip install --upgrade conan
- run: conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan
- run: conan remote login odr admin --password ${{ secrets.ARTIFACTORY }}
- run: conan remove --remote=odr "${{ github.event.inputs.package_name }}/*#*" --confirm
if: ${{ github.event.inputs.package_name != 'all' }}
- run: conan remove --remote=odr '*' --confirm
if: ${{ github.event.inputs.package_name == 'all' }}