Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gh action versions #520

Merged
merged 1 commit into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/ffi-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,11 @@ jobs:
Get-ChildItem -Path ${{ matrix.dylib }}, livekit_ffi.h, LICENSE.md | Compress-Archive -DestinationPath ${{ github.workspace }}\${{ matrix.name }}.zip

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ffi-builds
path: ${{ matrix.name }}.zip


release:
name: Release to GH (Draft)
runs-on: ubuntu-latest
Expand All @@ -215,7 +214,7 @@ jobs:
- uses: actions/checkout@v3

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ffi-builds
path: ${{ github.workspace }}/ffi-builds
Expand Down
21 changes: 10 additions & 11 deletions .github/workflows/webrtc-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ jobs:
cmd: ./build_macos.sh
arch: arm64

- name: linux
- name: linux
os: buildjet-8vcpu-ubuntu-2004
cmd: ./build_linux.sh
arch: x64

- name: linux
os: buildjet-8vcpu-ubuntu-2004
cmd: ./build_linux.sh
arch: arm64
arch: arm64

- name: android
os: buildjet-8vcpu-ubuntu-2004
cmd: ./build_android.sh
Expand All @@ -81,10 +81,10 @@ jobs:
os: macos-13
cmd: ./build_ios.sh
arch: arm64
buildargs: --environment simulator
buildargs: --environment simulator
profile:
- release
# - debug
# - debug

name: Build webrtc (${{ matrix.target.name }}-${{ matrix.target.arch }}-${{ matrix.profile }}) ${{ matrix.target.buildargs }}
runs-on: ${{ matrix.target.os }}
Expand All @@ -104,7 +104,7 @@ jobs:
echo "OutName: ${{ steps.setup.outputs.OUT }}"
echo "OutZip: ${{ steps.setup.outputs.ZIP }}"

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
run: echo -e "\ntarget_os = [\"${{ matrix.target.name }}\"]" >> .gclient
shell: bash
working-directory: webrtc-sys/libwebrtc

- name: Build WebRTC
run: ${{ matrix.target.cmd }} --arch ${{ matrix.target.arch }} --profile ${{ matrix.profile }} ${{ matrix.target.buildargs }}
working-directory: webrtc-sys/libwebrtc
Expand All @@ -151,12 +151,11 @@ jobs:
run: Compress-Archive -Path .\webrtc-sys\libwebrtc\${{ steps.setup.outputs.OUT }} -DestinationPath ${{ steps.setup.outputs.ZIP }}

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: webrtc-builds
path: ${{ steps.setup.outputs.ZIP }}


release:
name: Release to GH (Draft)
runs-on: ubuntu-latest
Expand All @@ -167,10 +166,10 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: webrtc-builds
path: ${{ github.workspace }}/webrtc-builds
Expand Down
Loading