Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Temidayo32 committed Jan 31, 2025
1 parent d97e665 commit eb4a923
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions .github/workflows/foxpuppet_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
name: Publish to PyPI

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
pull_request:
# Sequence of patterns matched against refs/heads
branches:
- main

# on:
# push:
# tags:
# - "v[0-9]+.[0-9]+.[0-9]+"

env:
PYTHON_VERSION: '3.12'
Expand Down Expand Up @@ -79,19 +85,28 @@ jobs:
results/geckodriver.log
retention-days: 14

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
# - name: Publish to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PYPI_API_TOKEN }}

create-release:
create-release:
name: Create GitHub Release
needs: test-and-publish
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: package-artifacts

- name: Verify Artifacts
run: |
ls -al dist
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit eb4a923

Please sign in to comment.