Skip to content

Commit 7a35b4c

Browse files
committed
fix-publishing
1 parent 38d8ec9 commit 7a35b4c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: .github/workflows/publish-artifacts.yml

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
with:
4141
java-version: '11'
4242
distribution: temurin
43+
44+
- name: Setup sbt launcher
45+
uses: sbt/setup-sbt@v1
46+
4347
- name: publish docs
4448
shell: 'script -q -e -c "bash {0}"'
4549
run: echo "Hello World" && ./mill -i publishDocs

Diff for: build.mill

+1-1
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ def publishExecutable() = {
889889
)
890890
upload(
891891
uploadedFile = os.temp(
892-
os.read(os.pwd / "amm-template.sh")
892+
os.read(Task.workspace / "amm-template.sh")
893893
.replace("DEFAULT_AMM_VERSION=", s"DEFAULT_AMM_VERSION=$latestTaggedVersion")
894894
.replace("DEFAULT_SCALA_VERSION=", s"DEFAULT_SCALA_VERSION=$scalaBinaryVersion")
895895
),

0 commit comments

Comments
 (0)