Skip to content

Commit

Permalink
fixup! cache OpenSSL build output
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeev-0 committed Jan 22, 2025
1 parent 5a3d802 commit e9504bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/OpenSSL_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
strategy:
fail-fast: false
matrix:
branch: [openssl-3.0, openssl-3.1, openssl-3.2, openssl-3.3, openssl-3.4]
branch: [openssl-3.0] #[openssl-3.0, openssl-3.1, openssl-3.2, openssl-3.3, openssl-3.4]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: cache openssl
id: cache-openssl
run: echo "cache-name= `git ls-remote https://github.com/openssl/openssl.git ${{matrix.branch}} | awk '{print $1}'`" >> "$GITHUB_ENV"

- id: cache-openssl
uses: actions/cache@v3
env:
cache-name: git ls-remote https://github.com/openssl/openssl.git ${{matrix.branch}} | awk '{print $1}'
with:
path: /usr/local/${{ matrix.branch }}
key: openssl-${{ env.cache-name }}-${{ runner.os }}
Expand Down

0 comments on commit e9504bd

Please sign in to comment.