summaryrefslogtreecommitdiff
path: root/.github/actions
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-09-22 23:16:23 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-06-15 21:38:12 +0200
commite19b3701260d4a855736c623b8c8a270413f041e (patch)
tree905bce590cbc44c4077defa52276bac245c22a2a /.github/actions
parent8c18112f5dcf96bf24fab14ab4470c00ab7f7f70 (diff)
downloadfork-godot-webrtc-native-e19b3701260d4a855736c623b8c8a270413f041e.tar.gz
fork-godot-webrtc-native-e19b3701260d4a855736c623b8c8a270413f041e.tar.bz2
fork-godot-webrtc-native-e19b3701260d4a855736c623b8c8a270413f041e.zip
Use libdatachannel library, add Godot 4 support.
Diffstat (limited to '.github/actions')
-rw-r--r--.github/actions/webrtc-download/action.yml51
1 files changed, 0 insertions, 51 deletions
diff --git a/.github/actions/webrtc-download/action.yml b/.github/actions/webrtc-download/action.yml
deleted file mode 100644
index 75e268d..0000000
--- a/.github/actions/webrtc-download/action.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-name: 'Get WebRTC Library'
-description: 'Get pre-build statically linked WebRTC library from Faless/webrtc-builds'
-inputs:
- repo:
- description: 'Base repository'
- required: true
- default: "godotengine/webrtc-actions"
- release:
- description: 'Release tag'
- required: true
- default: '4472-33644-92ba70c'
- webrtc-base-name:
- description: 'The WebRTC version'
- required: true
- default: "webrtc-33644-92ba70c"
- out-dir:
- description: 'Directory where to extract the library'
- required: true
- default: "webrtc"
- platform:
- description: 'Platform to download'
- required: true
- archs:
- description: 'Space separated list of architecture to fetch'
- required: true
-runs:
- using: "composite"
- steps:
- - shell: bash
- env:
- RTC_BASE_URL: https://github.com/${{ inputs.repo }}/releases/download/${{ inputs.release }}/${{ inputs.webrtc-base-name }}
- run: |
- cd ${{ inputs.out-dir }}
-
- libplat=${{ inputs.platform }}
- if [ "${{ inputs.platform }}" = "windows" ]; then
- libplat=win
- elif [ "${{ inputs.platform }}" = "osx" ]; then
- libplat=mac
- fi
-
- 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}.tar.gz -o ${arch}.tar.gz
- tar -xzf ${arch}.tar.gz
- done
-
- mv lib ${{ inputs.platform }}
- ls -l
- ls -l *