Skip to content
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
21 changes: 6 additions & 15 deletions .github/workflows/package_and_upload_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ on:
modules_support_needed:
type: boolean
default: False
ci_ref:
type: string
default: "5.x.y"
description: "Git ref (branch, tag, or SHA) of libhal/ci to use for scripts"

secrets:
conan_remote_password:
Expand All @@ -48,17 +52,6 @@ on:
required: false

jobs:
extract-ci-ref:
runs-on: ubuntu-latest
outputs:
ci_ref: ${{ steps.extract.outputs.ci_ref }}
steps:
- id: extract
run: |
CI_REF="${{ github.workflow_ref }}"
CI_REF="${CI_REF#*@}"
echo "ci_ref=$CI_REF" >> "$GITHUB_OUTPUT"

linux_x86_64_llvm:
uses: ./.github/workflows/package_and_upload.yml
with:
Expand Down Expand Up @@ -120,7 +113,6 @@ jobs:

cortex-m_llvm:
runs-on: ubuntu-latest
needs: extract-ci-ref
env:
VERBOSE: 1
CONAN_REMOTE_USER: ${{ secrets.conan_remote_user }}
Expand All @@ -147,7 +139,7 @@ jobs:
uses: actions/checkout@v4.1.1
with:
repository: libhal/ci
ref: ${{ needs.extract-ci-ref.outputs.ci_ref }}
ref: ${{ inputs.ci_ref }}
path: ci-repo

- name: 📦 Build packages for all Cortex-M architectures
Expand Down Expand Up @@ -176,7 +168,6 @@ jobs:

cortex-m_gcc:
runs-on: ubuntu-latest
needs: extract-ci-ref
if: ${{ inputs.modules_support_needed == false }}
env:
VERBOSE: 1
Expand Down Expand Up @@ -204,7 +195,7 @@ jobs:
uses: actions/checkout@v4.1.1
with:
repository: libhal/ci
ref: ${{ needs.extract-ci-ref.outputs.ci_ref }}
ref: ${{ inputs.ci_ref }}
path: ci-repo

- name: 📦 Build packages for all Cortex-M architectures
Expand Down
Loading