Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
👷 Skip demo builds if demos/ doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Khalil Estell authored and kammce committed Jul 15, 2023
1 parent f05d32b commit f9daba0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/platform_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,14 @@ jobs:
- name: 📦 Create `Release` package for ${{ inputs.profile }}
run: conan create . -pr ${{ inputs.profile }} -s build_type=Release -b missing

- name: Check if `demos/` directory existence
id: check_demos_dir
uses: andstor/file-existence-action@v1
with:
files: "demos/"

- name: 🏗️ Build demos for ${{ inputs.profile }}
if: steps.check_demos_dir.outputs.files_exists == 'true'
run: conan build demos -pr ${{ inputs.profile }} -s build_type=MinSizeRel

- name: 🆙 Upload package to `libhal` repo
Expand Down

0 comments on commit f9daba0

Please sign in to comment.