File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -60,21 +60,13 @@ jobs:
6060 LATEST_RELEASE=${{ steps.get-latest-version.outputs.LATEST_RELEASE }}
6161 find libs/ -name 'arduino_app_bricks-*.whl' ! -name "arduino_app_bricks-${LATEST_RELEASE}-py3-none-any.whl" -delete
6262
63- - name : Commit and push whl file
64- if : steps.check-branch.outputs.branch_exists != 'true' && steps.check-update.outputs.update_needed != 'false'
65- run : |
66- LATEST_RELEASE=${{ steps.get-latest-version.outputs.LATEST_RELEASE }}
67- git config user.name "github-actions"
68- git config user.email "github-actions@github.com"
69- git checkout -b update-bricks-${LATEST_RELEASE}
70- git add libs/arduino_app_bricks-${LATEST_RELEASE}-py3-none-any.whl
71- git commit -m "Update bricks whl to ${LATEST_RELEASE}"
72- git push origin update-bricks-${LATEST_RELEASE}
73-
7463 - name : Create Pull Request
7564 if : steps.check-branch.outputs.branch_exists != 'true' && steps.check-update.outputs.update_needed != 'false'
7665 uses : peter-evans/create-pull-request@v5
7766 with :
7867 branch : update-bricks-${{ steps.get-latest-version.outputs.LATEST_RELEASE }}
7968 title : " Update bricks whl file to ${{ steps.get-latest-version.outputs.LATEST_RELEASE }}"
8069 body : " This PR updates the Arduino App Bricks wheel file to the latest version ${{ steps.get-latest-version.outputs.LATEST_RELEASE }}."
70+ commit-message : " Update bricks whl to ${{ steps.get-latest-version.outputs.LATEST_RELEASE }}"
71+ add-paths : |
72+ libs/arduino_app_bricks-${{ steps.get-latest-version.outputs.LATEST_RELEASE }}-py3-none-any.whl
You can’t perform that action at this time.
0 commit comments