Skip to content

Commit 2968bbf

Browse files
committed
Manually cleanup localStaging before releasing artifacts - clean does no longer prune ./target directory
1 parent 99b7b97 commit 2968bbf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ jobs:
203203
# Each namespace needs to be published separately
204204
- name: Publish Release (org.scala-lang)
205205
run: |
206+
rm -rf ./target/sona-staging/
206207
./project/scripts/sbtPublish " \
207208
all \
208209
scala-library-bootstrapped/publishSigned \
@@ -221,7 +222,9 @@ jobs:
221222
;sonaUpload"
222223
223224
- name: Publish Release (org.scala-js)
224-
run: ./project/scripts/sbtPublish "clean; scala-library-sjs/publishSigned ;sonaUpload"
225+
run: |
226+
rm -rf ./target/sona-staging/
227+
./project/scripts/sbtPublish "scala-library-sjs/publishSigned ;sonaUpload"
225228
226229
#build-msi-package:
227230
# uses: ./.github/workflows/build-msi.yml

0 commit comments

Comments
 (0)