File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 with :
3333 ref : ${{ github.ref_name }}
3434
35- - name : Import GPG keys
36- env :
37- GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
38- run : echo "$GPG_PRIVATE_KEY" | gpg --batch --import
39-
4035 - name : Extract version from CMakeLists.txt
4136 id : extract_version
4237 run : |
5853 apt-get update
5954 apt-get install -y \
6055 git build-essential ninja-build cmake patchelf rsync \
61- rpm \
56+ rpm gpg \
6257 libglu1-mesa libgl1-mesa-dev libxkbcommon0 libxkbcommon-x11-0 \
6358 libxcb1 libxcb-xinerama0 libxcb-cursor0 libxcb-keysyms1 libxcb-xfixes0 \
6459 libxcb-shape0 libxcb-render-util0 libxcb-icccm4 libxcb-image0 \
@@ -188,6 +183,11 @@ jobs:
188183 - name : Patch binary file
189184 run : patchelf --set-rpath /opt/OpenModSim/lib "${{ env.BUILD_RPM_DIR }}/SOURCES/omodsim/opt/OpenModSim/bin/omodsim"
190185
186+ - name : Import GPG keys
187+ env :
188+ GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
189+ run : echo "$GPG_PRIVATE_KEY" | gpg --batch --import
190+
191191 - name : Build RPM package
192192 working-directory : ${{ env.BUILD_RPM_DIR }}
193193 run : |
You can’t perform that action at this time.
0 commit comments