Skip to content

Update delete-artifact action #2

Update delete-artifact action

Update delete-artifact action #2

Workflow file for this run

name: Build
env:
PYTHON_VERSION: '3.12'
TZ: Europe/Zurich
on:
push:
branches:
- 'master'
- '*.x'
pull_request:
branches:
- 'master'
- '*.x'
types:
- opened
- reopened
- synchronize
- labeled
workflow_dispatch:
inputs:
add-version-suffix:
type: boolean
default: true
description: Append version suffix
plugin-name:
description: Build specific plugin
type: choice
options:
- '' # all plugins
- registration_prefill
- affiliation_extras
permissions:
contents: read
jobs:
build:
name: Build plugins 🏗
uses: indico/indico-gh-actions/.github/workflows/build-plugins.yml@master
with:
directory: cern
extra-plugins-repo: indico/indico-plugins
extra-plugins-dir: public
add-version-suffix: ${{ github.event_name != 'workflow_dispatch' || inputs.add-version-suffix }}
plugin: ${{ github.event_name == 'workflow_dispatch' && inputs.plugin-name }}
bundle:
name: Bundle wheels 📦
needs: build
runs-on: ubuntu-22.04
steps:
- name: Download artifacts
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
merge-multiple: true
pattern: plugin-wheel-*
path: dist
- name: List artifacts 📃
run: ls -al dist/
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
name: Upload build artifacts 📦
with:
name: plugin-wheels
retention-days: 7
path: dist
- name: Delete individual artifacts 🚮
uses: geekyeggo/delete-artifact@176a747ab7e287e3ff4787bf8a148716375ca118 # v6.0.0
with:
name: plugin-wheel-*