diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a1c75e..314a58c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,7 @@ on: workflow_dispatch: schedule: - cron: '0 12 * * *' # Every day at 09:00 ART (12:00 UTC) + workflow_call: jobs: test-linux: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..7ef3fe7 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,24 @@ +name: Publish to PyPI +on: + release: + types: [created] + pull_request: + +jobs: + testing: + uses: ipqa-research/ugropy/.github/workflows/ci.yml@dev_ci_publish + publish: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.10', '3.11', '3.12', '3.13'] + needs: testing + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: do stuff + run: echo "Publishing package..." + \ No newline at end of file