Skip to content

chore: built chaindata #3943

chore: built chaindata

chore: built chaindata #3943

Workflow file for this run

name: Chaindata Build
on:
# runs after each push to current branch
push:
# can be run manually from the `Actions` tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow pushing commits
permissions:
contents: write
id-token: write
concurrency:
# only run 1 job per branch/pr/etc at a time
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build-main:
name: 'Build main'
uses: ./.github/workflows/build-jobs.yml
if: github.ref_name == 'main'
secrets: inherit
# Sets permissions of the GITHUB_TOKEN to allow pushing commits
permissions:
contents: write
id-token: write
build-pr:
name: 'Build PR'
uses: ./.github/workflows/build-jobs.yml
if: github.ref_name != 'main'
with:
environment: 'pr-builds'
secrets: inherit
# Sets permissions of the GITHUB_TOKEN to allow pushing commits
permissions:
contents: write
id-token: write