Fix manual webrtc build
This commit is contained in:
parent
50c83091ec
commit
3016fa94ea
1 changed files with 5 additions and 5 deletions
|
@ -32,14 +32,14 @@ jobs:
|
||||||
git checkout $DEPOT_TOOLS_VER
|
git checkout $DEPOT_TOOLS_VER
|
||||||
- name: Getting variables
|
- name: Getting variables
|
||||||
run: |
|
run: |
|
||||||
|
echo $GITHUB_REF_NAME
|
||||||
if test $GITHUB_REF_NAME == "ci" ; then
|
if test $GITHUB_REF_NAME == "ci" ; then
|
||||||
CI_REF_NAME=${{ inputs.ref_name }}
|
echo ${{ inputs.ref_name }} > webrtcver
|
||||||
else
|
else
|
||||||
CI_REF_NAME=$GITHUB_REF_NAME
|
|
||||||
fi
|
|
||||||
curl --silent https://raw.githubusercontent.com/signalapp/Signal-Desktop/$CI_REF_NAME/package-lock.json | grep "@signalapp/ringrtc\": \"" | awk '{print $2}' | tr -d ',' | tr -d '"' | head -n 1 > ringrtcver
|
curl --silent https://raw.githubusercontent.com/signalapp/Signal-Desktop/$CI_REF_NAME/package-lock.json | grep "@signalapp/ringrtc\": \"" | awk '{print $2}' | tr -d ',' | tr -d '"' | head -n 1 > ringrtcver
|
||||||
read _ringrtcver < ringrtcver
|
read _ringrtcver < ringrtcver
|
||||||
curl --silent https://raw.githubusercontent.com/signalapp/ringrtc/v$_ringrtcver/config/version.properties | awk -F '=' '{if($1 == "webrtc.version"){print $2}}' | head -n 1 > webrtcver
|
curl --silent https://raw.githubusercontent.com/signalapp/ringrtc/v$_ringrtcver/config/version.properties | awk -F '=' '{if($1 == "webrtc.version"){print $2}}' | head -n 1 > webrtcver
|
||||||
|
fi
|
||||||
- name: Fetching webrtc
|
- name: Fetching webrtc
|
||||||
run: |
|
run: |
|
||||||
read _webrtcver < webrtcver
|
read _webrtcver < webrtcver
|
||||||
|
|
Loading…
Reference in a new issue