Skip to content

Commit

Permalink
feat: add adb inside
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun committed Jun 4, 2023
1 parent 69982b1 commit 584fb54
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,26 @@ jobs:
include:
- platform: linux-x86
depend: linux_x86
adb: linux
- platform: linux-x86_64
depend: linux_x86_64
adb: linux
- platform: linux-arm64
depend: linux_arm64
adb: linux
- platform: macosx-x86_64
depend: macosx_x86_64
adb: darwin
- platform: macosx-arm64
depend: macosx_arm64
adb: darwin
- platform: windows-x86
depend: windows_x86
adb: windows
tail: .exe
- platform: windows-x86_64
depend: windows_x86_64
adb: windows
tail: .exe
runs-on: ubuntu-latest
steps:
Expand All @@ -88,6 +95,14 @@ jobs:
run: cp -r target/sonic-agent-${{ matrix.platform }}.jar sonic-agent-${{ steps.previoustag.outputs.tag }}-${{matrix.depend}}/
- name: copy
run: cp -r config/ mini/ sonic-agent-${{ steps.previoustag.outputs.tag }}-${{matrix.depend}}/
- name: adb-download
uses: robinraju/[email protected]
with:
repository: SonicCloudOrg/sonic-adb-binary
latest: true
fileName: "*"
- name: adb-unzip
run: unzip platform-tools_r34.0.3-${{matrix.adb}}.zip && mv platform-tools/* sonic-agent-${{ steps.previoustag.outputs.tag }}-${{matrix.depend}}/plugins/
- name: sas-download
uses: robinraju/[email protected]
with:
Expand Down

0 comments on commit 584fb54

Please sign in to comment.