api no longer fails when no pilots or logbook entries

This commit is contained in:
2024-12-01 11:16:29 -06:00
parent 28115bbcaa
commit 87568056ca
2 changed files with 11 additions and 2 deletions

View File

@@ -15,12 +15,21 @@ jobs:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
with:
dir_names: 'true'
- name: List modified files
env:
MODIFIED_FILES: ${{ steps.changed-files.outputs.modified_files }}
run: |
for file in ${MODIFIED_FILES}; do
echo "$file was modified"
done
build-deploy-api:
if: contains(needs.changed-files.outputs.modified_files, 'api')
if: contains(needs.changed-files.outputs, 'api')
name: build-deploy-api
needs:
- changed-files

View File

@@ -1,7 +1,7 @@
{
"name": "@noahspan/flying-client",
"private": true,
"version": "0.1.0",
"version": "0.1.1",
"type": "module",
"scripts": {
"dev": "vite",