Skip to content

Commit

Permalink
test pypi workflow (#96)
Browse files Browse the repository at this point in the history
- updating test pypi workflow
  • Loading branch information
carlkidcrypto authored Sep 19, 2024
1 parent a2691cb commit 8516f91
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/build_and_publish_to_test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,27 @@ on:
branches: [ main ]

jobs:
check-source-changes:
runs-on: ubuntu-latest
outputs:
run_job: ${{ steps.changed-files.outputs.any_changed }}
steps:
- name: Checkout Sourcecode
uses: actions/checkout@v4

- name: Check for changes in setup.py/cfg
id: changed-files
uses: tj-actions/[email protected]
with:
files: |
setup.py
setup.cfg
build-n-publish-test-pypi:
name: Build and Publish
name: Build and Publish To Test PyPi
runs-on: ubuntu-latest
needs: check-source-changes
if: needs.check-source-changes.outputs.run_job == 'true'

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 8516f91

Please sign in to comment.