Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit f447112

Browse files
committed
feat: add new plugins
1 parent ab85a3d commit f447112

File tree

6 files changed

+17
-3
lines changed

6 files changed

+17
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ jobs:
2727
run: ver=${{ steps.previoustag.outputs.tag }} && new_ver=${ver:1} && sed -i "s/SONIC_VERSION/${new_ver}/g" pom.xml
2828
- name: login docker hub
2929
run: echo "${{ secrets.ACCESS_TOKEN }}" | docker login -u zhouyixun --password-stdin
30+
- name: sas-download
31+
uses: robinraju/release-downloader@v1.4
32+
with:
33+
repository: SonicCloudOrg/sonic-android-supply
34+
latest: true
35+
fileName: "*_linux_x86_64.tar.gz"
36+
- name: sas
37+
run: tar zxvf *_linux_x86_64.tar.gz && rm *_linux_x86_64.tar.gz && rm plugins/sonic-android-supply* && mv sas plugins/sonic-android-supply
3038
- name: sgm-download
3139
uses: robinraju/release-downloader@v1.4
3240
with:

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ jobs:
6060
run: cp -r target/sonic-agent-${{ matrix.platform }}.jar sonic-agent-${{ steps.previoustag.outputs.tag }}-${{matrix.depend}}/
6161
- name: copy
6262
run: cp -r config/ mini/ sonic-agent-${{ steps.previoustag.outputs.tag }}-${{matrix.depend}}/
63+
- name: sas-download
64+
uses: robinraju/release-downloader@v1.4
65+
with:
66+
repository: SonicCloudOrg/sonic-android-supply
67+
latest: true
68+
fileName: "*"
69+
- name: sas-untar
70+
run: tar zxvf *_${{matrix.depend}}.tar.gz && rm *_${{matrix.depend}}.tar.gz && mv sas${{matrix.tail}} sonic-agent-${{ steps.previoustag.outputs.tag }}-${{matrix.depend}}/plugins/sonic-android-supply${{matrix.tail}}
6371
- name: sgm-download
6472
uses: robinraju/release-downloader@v1.4
6573
with:

plugins/sonic-android-supply.exe

3.76 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.

src/main/resources/application.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@ sonic:
1010
saa: 2.0.1
1111
sgm: 1.3.3
1212
sib: 1.2.0
13-
sas: 0.0.1
13+
sas: 0.0.2
1414
saus: 5.7.0
1515

1616
logging:
1717
file:
18-
#日志路径
1918
name: logs/sonic-agent.log
2019
logback:
2120
rollingpolicy:
2221
clean-history-on-start: true
23-
#保留天数
2422
max-history: 3
2523
pattern:
2624
console: "%clr(%d{${LOG_DATEFORMAT_PATTERN:yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:%wEx}"

0 commit comments

Comments
 (0)