Skip to content

Commit c8f3690

Browse files
committed
fix typo
1 parent d0f5ce6 commit c8f3690

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/generate_bindings.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
field: 'workspace.dependencies.bevy.version'
4040
- name: Clone Bevy
4141
run:
42-
mkdir ${{ env.CODEGEN_PATH }} || true
42+
mkdir -p ${{ env.CODEGEN_PATH }} || true
4343
git clone https://github.com/bevyengine/bevy --branch v${{ steps.read_toml.outputs.value }} --depth 1 ${{ env.CODEGEN_PATH }}/bevy
4444
cd ${{ env.CODEGEN_PATH }}/bevy && git fetch --tags && git checkout v${{ steps.read_toml.outputs.value }}
4545
- name: Generate bevy bindings
@@ -49,10 +49,10 @@ jobs:
4949
cargo bevy-api-gen collect --output ${{ env.OUTPUT_PATH }} --template-args '{ "self_is_bms_lua": true}'
5050
- name: Commit changes
5151
run: |
52-
git checkout -b update-bevy-bindings-${{ github.run_id }}-$GITHUB_RUN_ATTEMPT
52+
git checkout -b update-bevy-bindings-${{ github.run_id }}
5353
git add -A
5454
git commit -m "chore(codegen): update bevy bindings"
55-
git push -u origin update-bevy-bindings-${{ github.run_id }}-$GITHUB_RUN_ATTEMPT
55+
git push -u origin update-bevy-bindings-${{ github.run_id }}
5656
- name: Create PR
5757
run: |
5858
gh pr create --title "chore(codegen): update bevy bindings" --body "This PR updates the bevy bindings" --base ${{ github.ref }} --head update-bevy-bindings-${{ github.run_id }}-$GITHUB_RUN_ATTEMPT

0 commit comments

Comments
 (0)