Skip to content

Commit

Permalink
Update gh action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Dec 13, 2024
1 parent 7b6141c commit 4f1e02c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
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

0 comments on commit 4f1e02c

Please sign in to comment.