Skip to content
git-merge

GitHub Action

Kotlin Migration Monitor

2024.4.25 Latest version

Kotlin Migration Monitor

git-merge

Kotlin Migration Monitor

Monitor the status of a project migrating from Java to Kotlin

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Kotlin Migration Monitor

uses: JuriKiin/[email protected]

Learn more about this action in JuriKiin/kotlin-migration-monitor

Choose a version

kotlin-migration-monitor

A Github Action built to output the progress of an android project's migration from Java -> Kotlin.

For example output, check out the pinned issue

Inputs

directory String - Required

The starting directory for the file search.

open-issue Boolean - Optional

Whether a github issue should be created.

Default is true.

github-token Secret - Required

The github token for your repository.

Note: This is automatically created by Github and accessed by:

${{ secrets.GITHUB_TOKEN }}

Outputs

java-files List<String>

A list of remaining java classes with their respective path.

Example usage

  kotlin-migration-monitor:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v4

      - name: Set up Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '20'
        
      - name: Install Node.js
        run: npm install

      - name: Calculate Migration Progress
        uses: JuriKiin/[email protected]
        with:
          directory: './path/to/files'
          github-token: ${{ secrets.GITHUB_TOKEN }}

Support this project with a ⭐

"Buy Me A Coffee"