Update dependency androidx.compose:compose-bom to v2024.09.03 (#262) #157
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub Actions Workflow responsible for cleaning up the template repository from | |
# the template-specific files and configurations. This workflow is supposed to be triggered automatically | |
# when a new template-based repository has been created. | |
name: Template Cleanup | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
template-cleanup: | |
name: Template Cleanup | |
runs-on: ubuntu-latest | |
if: github.event.repository.name != 'kotlin-android-template' | |
steps: | |
# Check out current repository | |
- name: Fetch Sources | |
uses: actions/checkout@v4 | |
# Setup Java | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
# Setup Gradle | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
# Cleanup project | |
- name: Cleanup | |
run: ./gradlew templateCleanup | |
# Commit modified files | |
- name: Commit files | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git add . | |
git commit -m "Template cleanup" | |
# Push changes | |
- name: Push changes | |
uses: ad-m/[email protected] | |
with: | |
branch: main | |
github_token: ${{ secrets.GITHUB_TOKEN }} |