-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (34 loc) · 1.19 KB
/
publish.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# pause
# name: publish
# run-name: publish ${{inputs.resource_id}} staged/${{inputs.stage_number}}
# on:
# workflow_dispatch:
# inputs:
# resource_id:
# description: "Bioimageio ID of the resource - to be used to access the resource on S3"
# required: true
# type: string
# stage_number:
# description: DEPRECATED; will be removed soon
# required: false
# default: -1
# type: number
# reviewer:
# description: GitHub account name of bioimage.io maintainer accepting this resource version
# required: false
# default: 'auto detect'
# type: string
# sandbox:
# description: Publish within sandbox
# required: false
# default: false
# type: boolean
# concurrency: ${{inputs.resource_id}}
# jobs:
# call:
# uses: bioimage-io/collection/.github/workflows/publish_call.yaml@main
# with:
# concept_id: ${{inputs.resource_id}}
# reviewer: ${{inputs.reviewer == 'auto detect' && format('github|{0}', github.actor_id) || inputs.reviewer}}
# environment_name: ${{inputs.sandbox && vars.S3_SANDBOX_FOLDER || vars.S3_FOLDER}}
# secrets: inherit