Remove * from artifactory #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Remove packages from artifactory | |
on: | |
workflow_dispatch: | |
inputs: | |
package_name: | |
description: Package name pattern | |
type: string | |
default: "*" | |
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: python -m 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 |