Skip to content

Commit

Permalink
ci: 🎡 remove unnecessary tokens, force release for now
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed Aug 10, 2023
1 parent 755b41c commit 57ace96
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ on:
push:
branches:
- main
- develop
tags:
- "v*"
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -95,7 +92,6 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_PAT }}

- uses: pdm-project/setup-pdm@v3
with:
Expand Down Expand Up @@ -174,7 +170,6 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{secrets.GH_PAT}}

- uses: pdm-project/setup-pdm@v3
with:
Expand Down Expand Up @@ -202,7 +197,6 @@ jobs:
release:
name: Publish package
runs-on: ubuntu-latest
if: startsWith(github.ref, 'ref/tags/v')
steps:
- name: Checkout python-hyperscan
uses: actions/checkout@v3
Expand All @@ -225,9 +219,11 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish package distributions to PyPI
# if: steps.release.outputs.released == 'true'
uses: pypa/gh-action-pypi-publish@release/v1

- name: Publish package distributions to GitHub Releases
# if: steps.release.outputs.released == 'true'
uses: python-semantic-release/upload-to-gh-release@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 57ace96

Please sign in to comment.