From 87568056caee06b8f08c70921b9453c56879b689 Mon Sep 17 00:00:00 2001 From: Noah Spannbauer Date: Sun, 1 Dec 2024 11:16:29 -0600 Subject: [PATCH] api no longer fails when no pilots or logbook entries --- .github/workflows/dev.yaml | 11 ++++++++++- app/package.json | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml index b561e4b..1d9b62c 100644 --- a/.github/workflows/dev.yaml +++ b/.github/workflows/dev.yaml @@ -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 diff --git a/app/package.json b/app/package.json index 260a86f..795a8f6 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "@noahspan/flying-client", "private": true, - "version": "0.1.0", + "version": "0.1.1", "type": "module", "scripts": { "dev": "vite",