Skip to content

Commit

Permalink
update OpenSSL_versions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeev-0 committed Jan 23, 2025
1 parent 07441c2 commit f1c3ae9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/OpenSSL_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
- uses: actions/checkout@v4

- name: set cache env
run: echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git ${{matrix.branch}} | awk '{print $1}'`" >> "$GITHUB_ENV"
run: |
echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git ${{matrix.branch}} | awk '{print $1}'`" >> "$GITHUB_ENV"
echo "OPENSSL_DIR=./${{ matrix.branch }}" >> $GITHUB_ENV
- id: cache-openssl
name: cache openssl
Expand All @@ -31,17 +33,16 @@ jobs:
run: |
git clone https://github.com/openssl/openssl.git --branch ${{ matrix.branch }} --depth 1
cd openssl
./config --banner=Configured --debug --strict-warnings --prefix=${PWD}/../${{ matrix.branch }} shared zlib
./config --banner=Configured --debug --strict-warnings --prefix=${{ env.OPENSSL_DIR }} shared zlib
make -s -j4
sudo make install_sw install_ssldirs
cd ..
- name: set OpenSSL env
run: |
echo "OPENSSL_DIR=./${{ matrix.branch }}" >> $GITHUB_ENV
echo "OPENSSL_LIB=./${{ matrix.branch }}/lib64" >> $GITHUB_ENV
echo "./${{ matrix.branch }}/bin" >> "$GITHUB_PATH"
echo "LD_LIBRARY_PATH=./${{ matrix.branch }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV"
echo "OPENSSL_LIB=${{ env.OPENSSL_DIR }}/lib64" >> $GITHUB_ENV
echo "${{ env.OPENSSL_DIR }}/bin" >> "$GITHUB_PATH"
echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV"
- name: make
run: |
make -f Makefile_v1
Expand Down

0 comments on commit f1c3ae9

Please sign in to comment.