Skip to content

Commit

Permalink
Add checkout to update-annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
vallode committed May 2, 2024
1 parent 5e5709a commit 6876eff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
name: Build
name: Generate Annotations
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/update-annotations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ jobs:
permissions:
contents: write
steps:
- uses: ./.github/workflows/update-submodules.yml

- uses: ./.github/workflows/build.yml

- uses: actions/checkout@v4
with:
submodules: true

- uses: ./.github/workflows/update-submodules.yml
- uses: ./.github/workflows/build.yml

- name: Check if annotations changed
id: annotations_changed
run: echo "changed=$(git diff --quiet HEAD -- dist; echo $?)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 6876eff

Please sign in to comment.