Skip to content

Commit

Permalink
ci(push): Fix sizes upload if there is no changes (2.x) (#9839)
Browse files Browse the repository at this point in the history
* ci(push): Fix sizes upload if there is no changes

* ci(bot): Fix GitHub actions bot commit info
  • Loading branch information
lucasssvaz authored Jun 12, 2024
1 parent a6df1f5 commit 4a6ab62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ jobs:

- name: Push to github repo
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add ${{ env.RESULT_LIBRARY_TEST_FILE }}
git commit -m "Generated External Libraries Test Results"
git push origin HEAD:gh-pages
event_file:
name: "Event File"
if: |
Expand All @@ -126,4 +126,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: Event File
path: ${{github.event_path}}
path: ${{github.event_path}}
5 changes: 3 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,10 @@ jobs:

- name: Commit json files to gh-pages if on release branch
if: github.event_name == 'push' && github.ref == 'refs/heads/release/v2.x'
continue-on-error: true
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add --all
git commit -m "Updated 2.x cli compile json files"
git push origin HEAD:gh-pages

0 comments on commit 4a6ab62

Please sign in to comment.