Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove breaking main check from release.yml #143

Merged
merged 1 commit into from
May 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,7 @@ on:
- 'v*.*.*'

jobs:
verify-main-branch: # ensures we only release from main
runs-on: ubuntu-latest
steps:
- name: Exit if not on main branch
if: github.ref != 'refs/heads/main'
run: echo "Not on main branch, exiting" && exit -1

release-middleware:
needs:
- "verify-main-branch"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -47,12 +38,10 @@ jobs:
password: ${{ secrets.PYPI_TOKEN }}
skip-existing: true
packages-dir: dist/

release-operate:
runs-on: macos-latest
needs:
- "release-middleware"
- "verify-main-branch"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
Expand Down
Loading