mirror of
https://github.com/VigorousPro/TS3-Translation_zh-CN
synced 2025-04-08 21:48:57 +08:00
Update build.yml
This commit is contained in:
parent
7414346042
commit
339f12384a
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@ -20,13 +20,13 @@ jobs:
|
|||||||
sudo apt-get update -q
|
sudo apt-get update -q
|
||||||
sudo apt-get install qt5-default qttools5-dev-tools -y -q
|
sudo apt-get install qt5-default qttools5-dev-tools -y -q
|
||||||
|
|
||||||
- env:
|
# - env:
|
||||||
TG_API: ${{ secrets.TG_API }}
|
# TG_API: ${{ secrets.TG_API }}
|
||||||
TG_GROUP_ID: ${{ secrets.TG_GROUP_ID }}
|
# TG_GROUP_ID: ${{ secrets.TG_GROUP_ID }}
|
||||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
|
# if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
|
||||||
run: |
|
# run: |
|
||||||
echo "TG_API=${TG_API}" >> $GITHUB_ENV
|
# echo "TG_API=${TG_API}" >> $GITHUB_ENV
|
||||||
echo "TG_GROUP_ID=${TG_GROUP_ID}" >> $GITHUB_ENV
|
# echo "TG_GROUP_ID=${TG_GROUP_ID}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: |
|
run: |
|
||||||
@ -50,6 +50,16 @@ jobs:
|
|||||||
name: Chinese_Translation_zh-CN.ts3_translation
|
name: Chinese_Translation_zh-CN.ts3_translation
|
||||||
path: Chinese_Translation_zh-CN.ts3_translation
|
path: Chinese_Translation_zh-CN.ts3_translation
|
||||||
|
|
||||||
|
- name: Setup Ossutil
|
||||||
|
uses: manyuanrong/setup-ossutil@v2.0
|
||||||
|
with:
|
||||||
|
endpoint: ${{ secrets.OSS_ENDPOINT }}
|
||||||
|
access-key-id: ${{ secrets.OSS_KEY_ID }}
|
||||||
|
access-key-secret: ${{ secrets.OSS_KEY_SECRET }}
|
||||||
|
|
||||||
|
- name: Upload
|
||||||
|
run: ossutil cp Chinese_Translation_zh-CN.ts3_translation oss://edison-storage/
|
||||||
|
|
||||||
- name: Group notify
|
- name: Group notify
|
||||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
|
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
|
||||||
run: python3 maker.py 1
|
run: python3 maker.py 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user