Skip to content

Commit

Permalink
Update workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vsnappy1 authored Oct 31, 2024
1 parent b9f34da commit b5e1944
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,10 @@ jobs:
run: |
# Install gpg secret key
cat <(echo -e "${{ secrets.GPG_SECRET_KEY }}") | gpg --batch --import
# Verify gpg secret key
gpg --list-secret-keys --keyid-format LONG
- name: Setup Android SDK
uses: android-actions/[email protected]

- name: Build
run: ./gradlew build

- name: Generate Artifacts
run: ./gradlew generateArtifacts

Expand All @@ -62,15 +57,9 @@ jobs:

- name: Create bundle
run: ./gradlew createBundle

- id: publish-to-central
name: Publish to Central Repository
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME_TOKEN }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD_TOKEN }}
run: |
mvn \
--no-transfer-progress \
--batch-mode \
-Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} \
clean deploy

- name: Upload bundle
uses: actions/[email protected]
with:
name: bundle
path: resourcemanager/build/zip/bundle.zip

0 comments on commit b5e1944

Please sign in to comment.