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 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
You can’t perform that action at this time.
0 commit comments