Skip to content

Commit 8a6adcf

Browse files
authored
Print artifacts' version when publishing Scala CLI (#3760)
1 parent 14cc6f2 commit 8a6adcf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,8 +1673,12 @@ jobs:
16731673
run: .github/scripts/gpg-setup.sh
16741674
env:
16751675
PGP_SECRET: ${{ secrets.PGP_SECRET }}
1676-
- run: ./mill -i ci.setShouldPublish
1677-
- run: ./mill mill.scalalib.SonatypeCentralPublishModule/ --publishArtifacts '{__[],_,test-runner[2.13.16],test-runner[2.12.20],runner[2.13.16],runner[2.12.20]}.publishArtifacts'
1676+
- name: Set publish flag
1677+
run: ./mill -i ci.setShouldPublish
1678+
- name: Print version
1679+
run: ./mill -i show project.publish.finalPublishVersion
1680+
- name: Publish to Sonatype Central
1681+
run: ./mill mill.scalalib.SonatypeCentralPublishModule/ --publishArtifacts '{__[],_,test-runner[2.13.16],test-runner[2.12.20],runner[2.13.16],runner[2.12.20]}.publishArtifacts'
16781682
if: env.SHOULD_PUBLISH == 'true'
16791683
env:
16801684
MILL_PGP_SECRET_BASE64: ${{ secrets.PGP_SECRET }}

0 commit comments

Comments
 (0)