From 16c2f72b2bd9d306b997e33f0b39e7ab38cd20bd Mon Sep 17 00:00:00 2001 From: Alper Date: Mon, 7 Oct 2024 21:54:49 +0200 Subject: [PATCH] retry fix for cf cli installation --- .github/workflows/ci-pr.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-pr.yaml b/.github/workflows/ci-pr.yaml index e15f346..dfcefd2 100644 --- a/.github/workflows/ci-pr.yaml +++ b/.github/workflows/ci-pr.yaml @@ -30,9 +30,11 @@ jobs: # Step 4: Install CF Cli - name: Install CF Cli run: | - wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add - + wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | gpg --dearmor -o /usr/share/keyrings/cli.cloudfoundry.org.gpg echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list - + sudo apt-get update + sudo apt-get install cf8-cli + # Step 5: Install Multiapps Plugin - name: Install Multiapps Plugin run: | @@ -48,7 +50,7 @@ jobs: - name: Build MTA Archive run: | cd deploy/cf - mbt build + mbt build -e ./mtaext/ci.mtaext # Step 8: Verify MTA Archive built successfully - name: Deploy to CF