File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -26,23 +26,13 @@ jobs:
2626 ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.SIGNING_PASSWORD }}
2727 ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.GPG_KEY_CONTENTS }}
2828
29- - name : upload artifact
30- if : false # success()
31- uses : actions/upload-artifact@v4
32- with :
33- name : aap-core-apps-and-libs
34- path : |
35- ./*/build/outputs/aar/*.aar
36- samples/*/build/outputs/apk/debug/*.apk
37- # Create release
3829 - name : Create Release
3930 uses : ncipollo/release-action@v1
40- if : success()
31+ if : success() && startsWith(github.ref, 'refs/tags/')
4132 with :
4233 artifacts : ./*/build/outputs/aar/*.aar,samples/*/build/outputs/apk/debug/*.apk
43- # Update API reference
4434 - name : deploy to GitHub Pages
45- if : success()
35+ if : success() && startsWith(github.ref, 'refs/tags/')
4636 uses : JamesIves/github-pages-deploy-action@v4
4737 with :
4838 branch : gh-pages
You can’t perform that action at this time.
0 commit comments