mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2026-05-13 15:16:41 +00:00
Update actions to verify binaries are present
This commit is contained in:
parent
f535b6cc48
commit
d3e3cecfe1
18
.github/workflows/action-tests.yml
vendored
18
.github/workflows/action-tests.yml
vendored
|
|
@ -17,6 +17,24 @@ env:
|
||||||
SHELLOPTS: errexit:pipefail
|
SHELLOPTS: errexit:pipefail
|
||||||
|
|
||||||
jobs:
|
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:
|
list_all_versions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: List all package versions (including deps).
|
name: List all package versions (including deps).
|
||||||
|
|
|
||||||
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -14,6 +14,24 @@ env:
|
||||||
DEBUG: false
|
DEBUG: false
|
||||||
SHELLOPTS: errexit:pipefail
|
SHELLOPTS: errexit:pipefail
|
||||||
jobs:
|
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:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
18
.github/workflows/pr.yml
vendored
18
.github/workflows/pr.yml
vendored
|
|
@ -8,6 +8,24 @@ concurrency:
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
|
|
||||||
jobs:
|
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:
|
trunk_check:
|
||||||
name: Trunk Code Quality Runner
|
name: Trunk Code Quality Runner
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue