mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2026-09-25 08:14:23 +00:00
stuff
This commit is contained in:
parent
0c141a5d13
commit
d1802cbf31
7
.github/workflows/action-tests.yml
vendored
7
.github/workflows/action-tests.yml
vendored
|
|
@ -27,20 +27,19 @@ jobs:
|
||||||
id: check_distribute
|
id: check_distribute
|
||||||
run: |
|
run: |
|
||||||
if [ -d "distribute" ]; then
|
if [ -d "distribute" ]; then
|
||||||
echo "distribute_exists=true" >> $GITHUB_OUTPUT
|
echo "distribute_exists=false" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "distribute_exists=false" >> $GITHUB_OUTPUT
|
echo "distribute_exists=false" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build_distribute:
|
build_distribute:
|
||||||
needs: check_distribute
|
needs: check_distribute
|
||||||
if: needs.check_distribute.outputs.distribute_exists == 'true'
|
if: needs.check_distribute.outputs.distribute_exists == 'false'
|
||||||
uses: ./.github/workflows/build-distribute.yml
|
uses: ./.github/workflows/build-distribute.yml
|
||||||
|
|
||||||
# All other jobs should depend on build_distribute (if run) or check_distribute (if not needed)
|
# All other jobs should depend on build_distribute (if run) or check_distribute (if not needed)
|
||||||
list_all_versions:
|
list_all_versions:
|
||||||
needs: [build_distribute, check_distribute]
|
needs: [build_distribute, check_distribute]
|
||||||
if: needs.check_distribute.outputs.distribute_exists == 'true' || always()
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: List all package versions (including deps).
|
name: List all package versions (including deps).
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -67,7 +66,6 @@ jobs:
|
||||||
|
|
||||||
list_versions:
|
list_versions:
|
||||||
needs: [build_distribute, check_distribute]
|
needs: [build_distribute, check_distribute]
|
||||||
if: needs.check_distribute.outputs.distribute_exists == 'true' || always()
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: List package versions.
|
name: List package versions.
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -93,7 +91,6 @@ jobs:
|
||||||
|
|
||||||
standard_workflow_install:
|
standard_workflow_install:
|
||||||
needs: [build_distribute, check_distribute]
|
needs: [build_distribute, check_distribute]
|
||||||
if: needs.check_distribute.outputs.distribute_exists == 'true' || always()
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Standard workflow install package and cache.
|
name: Standard workflow install package and cache.
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue