diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-07-08 19:48:33 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-07-08 23:04:16 +0200 |
commit | 189c3532643cc20baec8d873d2d19f31d9e69075 (patch) | |
tree | 546c347add9ff7519a1af612a1ec66952307e2fc /.github | |
parent | e44c42fde859ccf828f0e1beaec6a6229e991f9a (diff) | |
download | fork-godot-webrtc-native-189c3532643cc20baec8d873d2d19f31d9e69075.tar.gz fork-godot-webrtc-native-189c3532643cc20baec8d873d2d19f31d9e69075.tar.bz2 fork-godot-webrtc-native-189c3532643cc20baec8d873d2d19f31d9e69075.zip |
[CI] Use organization's repository for automated builds.
Update README.md to reflect new build sources.
Diffstat (limited to '.github')
-rw-r--r-- | .github/actions/webrtc-download/action.yml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/.github/actions/webrtc-download/action.yml b/.github/actions/webrtc-download/action.yml index 0aa52c3..75e268d 100644 --- a/.github/actions/webrtc-download/action.yml +++ b/.github/actions/webrtc-download/action.yml @@ -4,7 +4,7 @@ inputs: repo: description: 'Base repository' required: true - default: "Faless/webrtc-builds" + default: "godotengine/webrtc-actions" release: description: 'Release tag' required: true @@ -31,13 +31,10 @@ runs: RTC_BASE_URL: https://github.com/${{ inputs.repo }}/releases/download/${{ inputs.release }}/${{ inputs.webrtc-base-name }} run: | cd ${{ inputs.out-dir }} - format=tar.gz - extract="tar -xzf" + libplat=${{ inputs.platform }} if [ "${{ inputs.platform }}" = "windows" ]; then libplat=win - format=7z - extract="7z x -y" elif [ "${{ inputs.platform }}" = "osx" ]; then libplat=mac fi @@ -45,8 +42,8 @@ runs: for arch in ${{ inputs.archs }} do echo "Downloading ${{ env.RTC_BASE_URL }}-${{ inputs.platform }}-${arch}.tar.gz" - curl -L ${{ env.RTC_BASE_URL }}-${libplat}-${arch}.${format} -o ${arch}.${format} - ${extract} ${arch}.${format} + curl -L ${{ env.RTC_BASE_URL }}-${libplat}-${arch}.tar.gz -o ${arch}.tar.gz + tar -xzf ${arch}.tar.gz done mv lib ${{ inputs.platform }} |