Skip to content

Commit

Permalink
Merge pull request #143 from valory-xyz/josh/remove-verify-main
Browse files Browse the repository at this point in the history
Remove breaking main check from release.yml
  • Loading branch information
truemiller authored May 27, 2024
2 parents 38edbcd + e977476 commit 5dda090
Showing 1 changed file with 0 additions and 11 deletions.
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

0 comments on commit 5dda090

Please sign in to comment.