Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-kerem committed Dec 10, 2024
1 parent efecdc6 commit 446b670
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/espresso-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ on:
- 'minor'
- 'patch'

pull_request:
branches:
- main

defaults:
run:
working-directory: visual-espresso
Expand All @@ -34,8 +30,8 @@ jobs:
java-version: '17'
distribution: 'temurin'
server-id: ossrh
gpg-private-key: ${{ secrets.MVN_CENTRAL_GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.MVN_CENTRAL_GPG_PASSPHRASE }}
# gpg-private-key: ${{ secrets.MVN_CENTRAL_GPG_PRIVATE_KEY }}
# gpg-passphrase: ${{ secrets.MVN_CENTRAL_GPG_PASSPHRASE }}

- name: Set up Git
if: ${{ steps.prep.outputs.tag_name == '' }}
Expand All @@ -60,6 +56,15 @@ jobs:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.MVN_CENTRAL_GPG_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.MVN_CENTRAL_GPG_PASSPHRASE }}

- name: Check if .aar is created
run: |
if [ -f visual-espresso/visual/build/outputs/aar/visual-release.aar ]; then
echo "File exists!"
else
echo "File does not exist."
exit 1
fi
#- name: Push new version to Git
# id: push_to_git
# run: |
Expand Down

0 comments on commit 446b670

Please sign in to comment.