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

Use sbt-ci-release to publish to com.github.sbt #242

Merged
merged 2 commits into from
Apr 23, 2023

Conversation

mkurz
Copy link
Member

@mkurz mkurz commented Apr 7, 2023

Fixes #239

@SethTisue @eed3si9n please add secrets and then we can give this a shot. Maybe tagging v5.0.0-M4 to see if publishing works?

Comment on lines +23 to +30
- name: Coursier Cache
id: coursier-cache
uses: coursier/cache-action@v6

- name: Install Adoptium Temurin OpenJDK
uses: coursier/setup-action@v1
with:
jvm: adoptium:8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scala caching (sbt etc) is now built into setup-java:

      - uses: actions/setup-java@v3
        with:
          distribution: 'temurin'
          java-version: '8'
          cache: 'sbt'

Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These need to be fixed. Likely they are blocking the scripted tests:

$ rg "com\.dwijnand" .
./README.md
23:    addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")

./sbtdynver/src/sbt-test/dynver/multi-project/project/plugins.sbt
2:  case Some(x) => addSbtPlugin("com.dwijnand" % "sbt-dynver" % x)

./sbtdynver/src/sbt-test/dynver/custom-version-string-0/project/plugins.sbt
2:  case Some(x) => addSbtPlugin("com.dwijnand" % "sbt-dynver" % x)

./sbtdynver/src/sbt-test/dynver/versions/project/plugins.sbt
2:  case Some(x) => addSbtPlugin("com.dwijnand" % "sbt-dynver" % x)

./sbtdynver/src/sbt-test/dynver/multi-build/bar/project/plugins.sbt
2:  case Some(x) => addSbtPlugin("com.dwijnand" % "sbt-dynver" % x)

./sbtdynver/src/sbt-test/dynver/multi-build/project/plugins.sbt
2:  case Some(x) => addSbtPlugin("com.dwijnand" % "sbt-dynver" % x)

./sbtdynver/src/sbt-test/dynver/custom-version-string/project/plugins.sbt
2:  case Some(x) => addSbtPlugin("com.dwijnand" % "sbt-dynver" % x)

./sbtdynver/src/sbt-test/dynver/assert-tag-version/project/plugins.sbt
2:  case Some(x) => addSbtPlugin("com.dwijnand" % "sbt-dynver" % x)

./sbtdynver/src/sbt-test/dynver/distance-separator/project/plugins.sbt
2:  case Some(x) => addSbtPlugin("com.dwijnand" % "sbt-dynver" % x)

./sbtdynver/src/sbt-test/dynver/no-v-tag-prefix/project/plugins.sbt
2:  case Some(x) => addSbtPlugin("com.dwijnand" % "sbt-dynver" % x)

@ckipp01
Copy link
Contributor

ckipp01 commented Apr 23, 2023

Hey @mkurz do you want me to take this over? I randomly have a use case for the dynver package I want to try out, but need to cross publish it. But before I try to do that we should probably get this finished up. So I can bring this across the finish line if you want.

@mkurz
Copy link
Member Author

mkurz commented Apr 23, 2023

Sure, please take it!

@SethTisue SethTisue marked this pull request as draft April 23, 2023 13:52
@eed3si9n eed3si9n merged commit 80cb023 into sbt:master Apr 23, 2023
@mkurz mkurz deleted the ci_publish branch April 24, 2023 12:15
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.

Artefacts not available
4 participants