Fix: karst getpayloadv5 + op-reth v2.4.0 #231
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release-plz | |
| on: | |
| # Create tags when release PR is merged | |
| pull_request: | |
| types: | |
| - closed | |
| branches: | |
| - main | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| actions: write | |
| jobs: | |
| release-plz: | |
| name: Create release tags | |
| if: | | |
| github.event.pull_request.merged == true && | |
| contains(github.event.pull_request.labels.*.name, 'release') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.ref }} | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Create tags on release PR merge | |
| id: release-plz | |
| uses: release-plz/action@v0.5 | |
| with: | |
| command: release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Trigger release workflow | |
| if: steps.release-plz.outputs.releases_created == 'true' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| RELEASES: ${{ steps.release-plz.outputs.releases }} | |
| run: | | |
| jq -r '.[].tag' <<< "$RELEASES" | while read -r tag; do | |
| echo "Dispatching release workflow for ${tag}" | |
| gh workflow run op_rbuilder_release.yaml \ | |
| --ref "${tag}" \ | |
| -f build-binary=true \ | |
| -f build-docker=true \ | |
| -f draft-release=true | |
| done |