Skip to content

Commit ca913c8

Browse files
committed
Allow artifact upload on workflow_dispatch event
1 parent a7e07ca commit ca913c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
python -m build --sdist
8383
twine check --strict ./dist/*
8484
- uses: actions/upload-artifact@v4
85-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
85+
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch'
8686
name: Upload artifact (source)
8787
with:
8888
name: libcosimpy-${{ github.ref_name }}-source

0 commit comments

Comments
 (0)