Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for setting Coursier's --extra-jars option when launching Scala Steward #579

Merged
merged 2 commits into from Mar 5, 2024

Conversation

lgmyrek
Copy link
Contributor

@lgmyrek lgmyrek commented Mar 4, 2024

copy of #467

tested with released version from my fork, successfully integrated with google cloud artifact registry with:

      - name: Fetch gar-coursier
        id: fetch_gar_coursier
        run: |
          export GAR_COURSIER_CLASSPATH=$(cs fetch --classpath "dev.rolang:gar-coursier_2.13:0.1.3");
          echo "GAR_COURSIER_CLASSPATH=$GAR_COURSIER_CLASSPATH" >> $GITHUB_ENV;
          
      - name: Launch Scala Steward
        uses: lgmyrek/scala-steward-action@v2
        with:
          ...
          extra-jars: ${{ env.GAR_COURSIER_CLASSPATH }}
          cache-ttl: 0minute

Copy link
Contributor

github-actions bot commented Mar 5, 2024

A snapshot release has been created as snapshots/579.

You can test it out with:

uses: scala-steward-org/scala-steward-action@snapshots/579

It will be automatically recreated on any change to this PR.

github-actions bot added a commit that referenced this pull request Mar 5, 2024
Copy link
Contributor

github-actions bot commented Mar 5, 2024

Code Coverage

Package Line Rate Branch Rate Complexity Health
core 100% 100% 0
modules 69% 88% 0
Summary 70% (475 / 677) 89% (73 / 82) 0

@lgmyrek
Copy link
Contributor Author

lgmyrek commented Mar 5, 2024

@alejandrohdezma just like I mentioned in the pr description, I've already tested it from released version from my fork.
Would be great to have it part of official action. Is there anything you want me to do to make that happen?

@alejandrohdezma
Copy link
Member

Nope! Was just waiting for CI to pass 😸

Thank you very much!

@alejandrohdezma alejandrohdezma merged commit 03a5951 into scala-steward-org:master Mar 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants