Update actions to verify binaries are present

This commit is contained in:
awalsh128 2026-01-05 16:57:31 -08:00
parent f535b6cc48
commit d3e3cecfe1
3 changed files with 54 additions and 0 deletions

View file

@ -17,6 +17,24 @@ env:
SHELLOPTS: errexit:pipefail
jobs:
check_distribute_and_build:
runs-on: ubuntu-latest
name: Check and build distribute if needed
steps:
- uses: actions/checkout@v4
- name: Check if distribute directory exists
id: check_distribute
run: |
if [ ! -d "distribute" ]; then
echo "distribute_exists=false" >> $GITHUB_OUTPUT
else
echo "distribute_exists=true" >> $GITHUB_OUTPUT
fi
- name: Trigger build-distribute workflow
if: steps.check_distribute.outputs.distribute_exists == 'false'
uses: ./.github/workflows/build-distribute.yml
with:
ref: ${{ github.ref }}
list_all_versions:
runs-on: ubuntu-latest
name: List all package versions (including deps).

View file

@ -14,6 +14,24 @@ env:
DEBUG: false
SHELLOPTS: errexit:pipefail
jobs:
check_distribute_and_build:
runs-on: ubuntu-latest
name: Check and build distribute if needed
steps:
- uses: actions/checkout@v4
- name: Check if distribute directory exists
id: check_distribute
run: |
if [ ! -d "distribute" ]; then
echo "distribute_exists=false" >> $GITHUB_OUTPUT
else
echo "distribute_exists=true" >> $GITHUB_OUTPUT
fi
- name: Trigger build-distribute workflow
if: steps.check_distribute.outputs.distribute_exists == 'false'
uses: ./.github/workflows/build-distribute.yml
with:
ref: ${{ github.ref }}
build:
runs-on: ubuntu-latest
steps:

View file

@ -8,6 +8,24 @@ concurrency:
permissions: read-all
jobs:
check_distribute_and_build:
runs-on: ubuntu-latest
name: Check and build distribute if needed
steps:
- uses: actions/checkout@v4
- name: Check if distribute directory exists
id: check_distribute
run: |
if [ ! -d "distribute" ]; then
echo "distribute_exists=false" >> $GITHUB_OUTPUT
else
echo "distribute_exists=true" >> $GITHUB_OUTPUT
fi
- name: Trigger build-distribute workflow
if: steps.check_distribute.outputs.distribute_exists == 'false'
uses: ./.github/workflows/build-distribute.yml
with:
ref: ${{ github.ref }}
trunk_check:
name: Trunk Code Quality Runner
runs-on: ubuntu-latest