mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Make default refs valid on PR checks
Set default versions for ripunzip and openssl in the workflow.
This commit is contained in:
9
.github/workflows/build-ripunzip.yml
vendored
9
.github/workflows/build-ripunzip.yml
vendored
@@ -6,14 +6,15 @@ on:
|
||||
ripunzip-version:
|
||||
description: "what reference to checktout from google/runzip"
|
||||
required: false
|
||||
default: v2.0.3
|
||||
openssl-version:
|
||||
description: "what reference to checkout from openssl/openssl for Linux"
|
||||
required: false
|
||||
default: openssl-3.6.0
|
||||
pull_request:
|
||||
paths:
|
||||
- .github/workflows/build-ripunzip.yml
|
||||
env:
|
||||
RIPUNZIP_DEFAULT: v2.0.3
|
||||
OPENSSL_DEFAULT: openssl-3.6.0
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -26,7 +27,7 @@ jobs:
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
repository: google/ripunzip
|
||||
ref: ${{ inputs.ripunzip-version }}
|
||||
ref: ${{ inputs.ripunzip-version || env.RIPUNZIP_DEFAULT }}
|
||||
# we need to avoid ripunzip dynamically linking into libssl
|
||||
# see https://github.com/sfackler/rust-openssl/issues/183
|
||||
- if: runner.os == 'Linux'
|
||||
@@ -35,7 +36,7 @@ jobs:
|
||||
with:
|
||||
repository: openssl/openssl
|
||||
path: openssl
|
||||
ref: ${{ inputs.openssl-version }}
|
||||
ref: ${{ inputs.openssl-version || env.OPENSSL_DEFAULT }}
|
||||
- if: runner.os == 'Linux'
|
||||
name: build and install openssl with fPIC
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user