Skip to content

Commit 82f86fc

Browse files
committed
fix
1 parent 255127e commit 82f86fc

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/update-libs.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)