Skip to content

Commit 4252f24

Browse files
committed
a bit more CI publication tweaks.
1 parent 4152065 commit 4252f24

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)