diff --git a/.github/workflows/model-download.yml b/.github/workflows/model-download.yml index aa34803..87aba0e 100644 --- a/.github/workflows/model-download.yml +++ b/.github/workflows/model-download.yml @@ -1,10 +1,10 @@ name: Model Download on: - workflow_dispatch: - push: - branches: - - '*' + workflow_dispatch: + push: + branches: + - '*' jobs: test: diff --git a/.github/workflows/sdf_parser.yml b/.github/workflows/sdf_parser.yml index 2626848..27c40a9 100644 --- a/.github/workflows/sdf_parser.yml +++ b/.github/workflows/sdf_parser.yml @@ -1,9 +1,9 @@ name: SDF Parsing on: - push: - branches: - - '*' + push: + branches: + - '*' jobs: build: @@ -41,13 +41,14 @@ jobs: id: second_to_last_commit run: echo "hash=$(git log --format="%H" -n 2 | tail -n 1)" >> $GITHUB_OUTPUT - - name: Get changed files - id: changed-files - run: echo "changed_files=$(git diff --name-only ${{ steps.second_to_last_commit.outputs.hash }} ${{ steps.latest_commit.outputs.hash }})" >> $GITHUB_OUTPUT + # - name: Get changed files + # id: changed-files + # run: echo "changed_files=$(git diff --name-only ${{ steps.second_to_last_commit.outputs.hash }} ${{ steps.latest_commit.outputs.hash }})" >> $GITHUB_OUTPUT - name: Iterate, find and check .sdf files run: | - for file in ${{ steps.changed-files.outputs.changed_files }}; do + changed_files=$(git diff --name-only ${{ steps.second_to_last_commit.outputs.hash }} ${{ steps.latest_commit.outputs.hash }}) + for file in $changed_files; do if [[ $file == *.sdf ]]; then echo "Checking $file"