Skip to content

Commit

Permalink
omg
Browse files Browse the repository at this point in the history
  • Loading branch information
Erutis committed Sep 6, 2024
1 parent faf3025 commit 0721a8b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/db-changes-var1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,21 @@ jobs:
with:
files: "app/**"

- name: Determine Outcome
id: determine-outcome
run: |
echo "DB_CHANGE=${{ steps.changed-db-files.outputs.any_changed }}" >> $GITHUB_ENV
- name: Check Conditions
id: check-conditions
run: |
echo "DB_CHANGE=${{ steps.changed-db-files.outputs.any_changed }}" >> $GITHUB_ENV
if [[ "${{ env.DB_CHANGE }}" == "true" ]]; then
echo "Conditions met. Continue to the next job."
echo "true" > continue.txt
run-alembic:
needs: check-sql-schema-changes
if: needs.check-sql-schema-changes.DB_CHANGE == 'true'
if: ${{ needs.check-sql-schema-changes.outputs.continue == 'true' }}
runs-on: ubuntu-latest

services:
Expand Down

0 comments on commit 0721a8b

Please sign in to comment.