File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 66 uses : fox-it/dissect-workflow-templates/.github/workflows/dissect-ci-template.yml@main
77 with :
88 run_tests : false
9- on-demand-test : ' dissect.target'
109 secrets : inherit
10+
11+ publish :
12+ if : ${{ github.ref_name == 'main' || github.ref_type == 'tag' }}
13+ needs : [ci]
14+ runs-on : ubuntu-latest
15+ environment : dissect_publish
16+ permissions :
17+ id-token : write
18+ steps :
19+ - uses : actions/download-artifact@v3
20+ with :
21+ name : packages
22+ path : dist/
23+ # According to the documentation, it automatically looks inside the `dist/` folder for packages.
24+ - name : Publish package distributions to Pypi
25+ uses : pypa/gh-action-pypi-publish@release/v1
26+
27+ trigger-tests :
28+ needs : [publish]
29+ uses : fox-it/dissect-workflow-templates/.github/workflows/dissect-ci-demand-test-template.yml@main
30+ with :
31+ on-demand-test : ' dissect.target'
You can’t perform that action at this time.
0 commit comments