File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 39
39
field : ' workspace.dependencies.bevy.version'
40
40
- name : Clone Bevy
41
41
run :
42
- mkdir ${{ env.CODEGEN_PATH }} || true
42
+ mkdir -p ${{ env.CODEGEN_PATH }} || true
43
43
git clone https://github.com/bevyengine/bevy --branch v${{ steps.read_toml.outputs.value }} --depth 1 ${{ env.CODEGEN_PATH }}/bevy
44
44
cd ${{ env.CODEGEN_PATH }}/bevy && git fetch --tags && git checkout v${{ steps.read_toml.outputs.value }}
45
45
- name : Generate bevy bindings
@@ -49,10 +49,10 @@ jobs:
49
49
cargo bevy-api-gen collect --output ${{ env.OUTPUT_PATH }} --template-args '{ "self_is_bms_lua": true}'
50
50
- name : Commit changes
51
51
run : |
52
- git checkout -b update-bevy-bindings-${{ github.run_id }}-$GITHUB_RUN_ATTEMPT
52
+ git checkout -b update-bevy-bindings-${{ github.run_id }}
53
53
git add -A
54
54
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 }}
56
56
- name : Create PR
57
57
run : |
58
58
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
You can’t perform that action at this time.
0 commit comments