forked from datajoint/element-facemap
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (28 loc) · 1.12 KB
/
u24_element_release_call.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
name: u24_element_release_call
on:
workflow_run:
workflows: ["u24_element_tag_to_release"]
types:
- completed
jobs:
call_context_check:
uses: dj-sciops/djsciops-cicd/.github/workflows/context_check.yaml@main
test_call_u24_elements_release_alpine:
if: >-
github.event.workflow_run.conclusion == 'success' && ( contains(github.event.workflow_run.head_branch, 'test') || (github.event.workflow_run.event == 'pull_request'))
uses: dj-sciops/djsciops-cicd/.github/workflows/u24_element_release.yaml@main
with:
py_ver: 3.9
twine_repo: testpypi
secrets:
TWINE_USERNAME: ${{secrets.TWINE_TEST_USERNAME}}
TWINE_PASSWORD: ${{secrets.TWINE_TEST_PASSWORD}}
call_u24_elements_release_alpine:
if: >-
github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'datajoint' && !contains(github.event.workflow_run.head_branch, 'test')
uses: dj-sciops/djsciops-cicd/.github/workflows/u24_element_release.yaml@main
with:
py_ver: 3.9
secrets:
TWINE_USERNAME: ${{secrets.TWINE_USERNAME}}
TWINE_PASSWORD: ${{secrets.TWINE_PASSWORD}}