Skip to content

Commit

Permalink
These changes will:
Browse files Browse the repository at this point in the history
Fix the permission issues with gradlew
2. Use a stable version of the Android Gradle Plugin
Ensure proper Gradle wrapper configuration
4. Make version bumps only happen after successful builds
Add proper permissions for the version bump workflow
After implementing these changes, the CI/CD pipeline should work correctly and version bumps will only occur after successful builds.
  • Loading branch information
yashkite committed Nov 17, 2024
1 parent d8bbc34 commit fe551d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/android-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
java-version: '17'
distribution: 'temurin'

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Check Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
version-bump:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
with:
Expand Down

0 comments on commit fe551d3

Please sign in to comment.