File tree Expand file tree Collapse file tree 2 files changed +2
-35
lines changed
Expand file tree Collapse file tree 2 files changed +2
-35
lines changed Original file line number Diff line number Diff line change 55 tag :
66 description : ' Release Tag'
77 required : true
8- upload :
9- description : ' Upload: If want ignore'
10- required : false
118 publish :
129 description : ' Publish: If want ignore'
1310 required : false
@@ -100,36 +97,6 @@ jobs:
10097 mkdir apks
10198 find artifacts -name "*.apk" -exec cp {} apks \;
10299 ./ghr -delete -t "${{ github.token }}" -n "${{ github.event.inputs.tag }}" "${{ github.event.inputs.tag }}" apks
103- upload :
104- name : Upload Release
105- if : github.event.inputs.upload != 'y'
106- runs-on : ubuntu-latest
107- needs : build
108- steps :
109- - name : Donwload Artifacts
110- uses : actions/download-artifact@v4
111- with :
112- name : APKs
113- path : artifacts
114- - name : Release
115- run : |
116- mkdir apks
117- find artifacts -name "*.apk" -exec cp {} apks \;
118-
119- function upload() {
120- for apk in $@; do
121- echo ">> Uploading $apk"
122- curl https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendDocument \
123- -X POST \
124- -F chat_id="${{ secrets.TELEGRAM_CHANNEL }}" \
125- -F document="@$apk" \
126- --silent --show-error --fail >/dev/null &
127- done
128- for job in $(jobs -p); do
129- wait $job || exit 1
130- done
131- }
132- upload apks/*
133100 play :
134101 name : Build Play Bundle
135102 if : github.event.inputs.play != 'y'
Original file line number Diff line number Diff line change 11PACKAGE_NAME =moe.nb4a
2- VERSION_NAME =1.3.1
3- VERSION_CODE =35
2+ VERSION_NAME =1.3.2
3+ VERSION_CODE =36
You can’t perform that action at this time.
0 commit comments