Skip to content
Snippets Groups Projects
Unverified Commit 848875ad authored by Serban Iorga's avatar Serban Iorga Committed by GitHub
Browse files

Fix build-linux-substrate (#7552)

Fix `build-linux-substrate` when opening PRs from a `polkadot-sdk` fork

Failed CI job example:
https://github.com/paritytech/polkadot-sdk/actions/runs/13284026730/job/37088673786?pr=7548
parent af4c745b
No related merge requests found
Pipeline #515188 waiting for manual action with stages
in 47 minutes and 16 seconds
...@@ -234,10 +234,6 @@ jobs: ...@@ -234,10 +234,6 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
# tldr: we need to checkout the branch HEAD explicitly because of our dynamic versioning approach while building the substrate binary
# see https://github.com/paritytech/ci_cd/issues/682#issuecomment-1340953589
ref: ${{ github.head_ref || github.ref_name }}
- name: build - name: build
run: | run: |
mkdir -p ./artifacts/substrate/ mkdir -p ./artifacts/substrate/
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment