Add .gitea/workflows/dl.yaml

This commit is contained in:
2026-08-11 08:50:28 +00:00
commit 97fb7a9540
+26
View File
@@ -0,0 +1,26 @@
on:
workflow_dispatch:
inputs:
imagename:
description: "Image name"
required: true
filename:
description: "output file name"
required: true
jobs:
build:
runs-on: ubuntu-hosted
steps:
- name: docker
run: |
pip download --dest wheelhouse 'cptr[all]'
- name: Upload rest api artifact
uses: christopherhx/gitea-upload-artifact@v4
with:
name: ${{ github.event.inputs.filename }}-extract-me.zip
path: wheelhouse/*
retention-days: 14
compression-level: 0
overwrite: true
include-hidden-files: true