Skip to content

Commit

Permalink
fixed another syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ritten11 committed Feb 5, 2024
1 parent e606fb3 commit 8b0e010
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/update_keyword_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@ permissions:

jobs:
changed_files:
runs-on: ubuntu-latest # windows-latest || macos-latest
name: Test changed-files
outputs:
project_changes: ${{ env.PROJECT_CHANGES }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
runs-on: ubuntu-latest # windows-latest || macos-latest
name: Test changed-files
outputs:
project_changes: ${{ env.PROJECT_CHANGES }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.

- name: Get changed files in the theses directory
id: changed-files-specific
uses: tj-actions/changed-files@v42
with:
files: _theses_dir/** # Alternatively using: `docs/**`
- name: Get changed files in the theses directory
id: changed-files-specific
uses: tj-actions/changed-files@v42
with:
files: _theses_dir/** # Alternatively using: `docs/**`

- name: Run step if any file(s) in the docs folder change
env:
ALL_CHANGED_FILES: ${{ steps.changed-files-specific.outputs.all_changed_files }}
run: |
echo "One or more files in the _theses_dir folder has changed."
echo "List all the files that have changed: $ALL_CHANGED_FILES"
echo "PROJECT_CHANGES=$(env.ALL_CHANGED_FILES | wc -l)" >> $GITHUB_ENV
- name: Run step if any file(s) in the docs folder change
env:
ALL_CHANGED_FILES: ${{ steps.changed-files-specific.outputs.all_changed_files }}
run: |
echo "One or more files in the _theses_dir folder has changed."
echo "List all the files that have changed: $ALL_CHANGED_FILES"
echo "PROJECT_CHANGES=$(env.ALL_CHANGED_FILES | wc -l)" >> $GITHUB_ENV
update_wordlist:
needs: [changed_files]
if: needs.changed-files.outputs.project_changes != '0'
Expand Down

0 comments on commit 8b0e010

Please sign in to comment.