Skip to content

Commit

Permalink
Fix uploading of artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lymia committed Mar 2, 2022
1 parent 4d8557b commit 45946d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: dist-native-image-${{ matrix.osName }}
path: target/scala-2.13/dist/*
path: target/dist/*

distUniversal:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: dist-universal
path: target/scala-2.13/dist/*
path: target/dist/*

publishArtifacts:
runs-on: ubuntu-latest
Expand Down
8 changes: 5 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ lazy val loader = project in file("modules/loader") settings (commonSettings ++
crossPaths := false,
))

/*********************************\
|* Distribution-related Projects *|
\*********************************/
/********************************\
|* Distribution-related scripts *|
\********************************/

val classPathInfo = TaskKey[(Properties, File)]("class-path-info")

Expand Down Expand Up @@ -359,6 +359,8 @@ lazy val princessEditClasspath = project in file("target/princess-edit-classpath
),
))

crossPaths := false

InputKey[Unit]("precompileClassPath") := {
(princessEditClasspath / classPathInfo).value
()
Expand Down

0 comments on commit 45946d5

Please sign in to comment.