Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yacobolo authored Feb 14, 2024
1 parent 2e35e8d commit 4aa16d9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build distribution

on: [push, pull_request, workflow_dispatch]
on: [workflow_dispatch]

jobs:
test:
Expand All @@ -9,8 +9,6 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Python 3.11
uses: actions/setup-python@v1
Expand All @@ -29,6 +27,6 @@ jobs:
run: poetry build

- name: Publish package to PyPI
if: github.repository == 'factryflow/factryengine' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
# if: github.repository == 'factryflow/factryengine' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: poetry publish --verbose

0 comments on commit 4aa16d9

Please sign in to comment.