From fc4eb106e1e3ef47c81c3634ecbe1196216ef131 Mon Sep 17 00:00:00 2001 From: Rehan Date: Tue, 13 Aug 2024 15:18:58 +0500 Subject: [PATCH] revert bundle install --- .github/workflows/build-sample-apps.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-sample-apps.yml b/.github/workflows/build-sample-apps.yml index 70d3bf8..011a041 100644 --- a/.github/workflows/build-sample-apps.yml +++ b/.github/workflows/build-sample-apps.yml @@ -85,6 +85,9 @@ jobs: ruby-version: ${{ env.RUBY_VERSION }} bundler-cache: true # cache tools to make builds faster in future + - name: Install Ruby dependencies + run: bundle install + # Update version numbers and workspace credentials before building the app - name: Generate New Version @@ -182,7 +185,7 @@ jobs: edit-mode: append # append new line to the existing PR comment to build a list of all sample app builds. - name: Update sample builds PR comment with build failure message - if: ${{ failure() }} + if: ${{ github.event_name == 'pull_request' && failure() }} uses: peter-evans/create-or-update-comment@v4 with: comment-id: ${{ needs.update-pr-comment.outputs.comment-id }}