From dfa8aa74708b3f515b2694926fa2528b4e3a11b9 Mon Sep 17 00:00:00 2001
From: absingh <absingh@mpi-cbg.de>
Date: Thu, 18 May 2023 12:14:45 +0200
Subject: [PATCH] fixing Cpack

---
 .github/workflows/main.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5f51b8a8f..ea9ef545b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -15,7 +15,7 @@ jobs:
       - name: Install dependencies
         run: |
           yum clean packages
-          yum install -y openssh-clients cmake wget git gcc-c++ gcc-gfortran python39 bzip2 diffutils zlib-devel rpm-build --nobest
+          yum install -y openssh-clients cmake wget git gcc-c++ gcc-gfortran python39 bzip2 diffutils zlib-devel yum-utils rpm-build
           ln -s /usr/bin/python3 /usr/bin/python
       - uses: actions/checkout@v3
         with:
@@ -62,7 +62,7 @@ jobs:
           ln -s ./LICENSE.md bsd3.txt
           ln -s ./README.md README.txt
           cd build
-          export DEP_PACKING=$HOME/openfpm_dependencies/${{ github.ref }}/
+          export DEP_PACKING=$HOME/openfpm_dependencies/${{ github.ref }}
           printf " -DCPACK_RUN_INSTALL_DEPENDENCIES=ON" >> cmake_build_options;
           bash cmake_build_options;
           echo "Calling CPACK"
@@ -120,7 +120,7 @@ jobs:
           ln -s ./LICENSE.md bsd3.txt
           ln -s ./README.md README.txt
           cd build
-          export DEP_PACKING=$HOME/openfpm_dependencies/${{ github.ref }}/
+          export DEP_PACKING=$HOME/openfpm_dependencies/${{ github.ref }}
           printf " -DCPACK_RUN_INSTALL_DEPENDENCIES=ON" >> cmake_build_options;
           tail cmake_build_options
           bash cmake_build_options;
-- 
GitLab