Skip to content

Commit

Permalink
ci: fix trigger.yml command ran in wrong working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rszyma committed Dec 11, 2023
1 parent c4d440c commit 23876ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
submodules: recursive

- name: Check for new commits in kanata/parser
working-directory:
./kanata
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd ./kanata
if git diff --quiet origin/main -- parser; then
echo "no new commits, skip release"
else
cd ..
gh workflow run publish.yml
fi

0 comments on commit 23876ee

Please sign in to comment.