File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name: Build_TouchHelper_APK
66# events but only for the master branch
77on :
88 push :
9- branches : [ master ]
9+ branches : [ master, refactor ]
1010 paths-ignore :
1111 - .github/workflows
1212 - ' docs/**'
@@ -57,18 +57,21 @@ jobs:
5757 path : ./app/build/outputs/bundle/release/
5858
5959 - name : Create ZIPs
60+ if : github.ref == 'refs/heads/master'
6061 working-directory : ./app/build/outputs/
6162 run : |
6263 zip -r ./TouchHelper-APK.zip ./apk/release
6364 zip -r ./TouchHelper-AAB.zip ./bundle/release
6465
6566 - name : Get git revision
67+ if : github.ref == 'refs/heads/master'
6668 id : get_git_revision
6769 run : |
6870 echo "tag_name=$(($(git rev-list HEAD --count) + 100))" >> $GITHUB_OUTPUT
6971 echo "release_name=$(($(git rev-list HEAD --count) + 100))" >> $GITHUB_OUTPUT
7072
7173 - name : Create Release and Upload APK
74+ if : github.ref == 'refs/heads/master'
7275 uses : softprops/action-gh-release@v2
7376 env :
7477 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2626 </string >
2727
2828 <string name =" about_weblink" >https://touchhelper.zfdang.com/</string >
29- <string name =" about_privacy" >隐私政策 (Privacy Policy):\nhttps://github. com/zfdang/Android-Touch-Helper/blob/master/PrivacyPolicy.md </string >
29+ <string name =" about_privacy" >隐私政策 (Privacy Policy):\nhttps://touchhelper.zfdang. com/privacy.html </string >
3030 <string name =" about_copyright" >Copyright © 2022 Zhengfa Dang</string >
3131
3232 <string name =" app_version" >版本: %s (%d)</string >
You can’t perform that action at this time.
0 commit comments