Skip to content

Commit

Permalink
Update gradle-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
furkanaskin authored Jan 2, 2023
1 parent c5aa864 commit c76b0e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
run: chmod +x gradlew

- name: Build AAR ⚙️🛠
run: bash ./gradlew :viewpagerdotsindicator:assemble
run: bash ./gradlew :library:assemble

- name: Publish to GitLab Package Registry 🚀
run: bash ./gradlew :viewpagerdotsindicator:publish
run: bash ./gradlew :library:publish
env:
GPR_USER: ${{ github.actor }}
GPR_KEY: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -69,6 +69,6 @@ jobs:
GITLAB_DEPLOY_TOKEN: ${{ secrets.GITLAB_DEPLOY_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: viewpagerdotsindicator/build/outputs/aar/viewpagerdotsindicator-release.aar
asset_name: viewpagerdotsindicator.aar
asset_path: library/build/outputs/aar/library-release.aar
asset_name: library.aar
asset_content_type: application/aar

0 comments on commit c76b0e0

Please sign in to comment.