Skip to content

Commit 90d90bd

Browse files
committed
Don't use prebuilt archive, create zip with content of dist/target/pack to be used in tests.
Required only becouse version of artifact (3.3.5-local) does not match built version of the compiler (3.3.5-RC1-bin-SNAPSHOT), should work correctly under normal releases
1 parent 630fc51 commit 90d90bd

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/build-sdk.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,15 @@ jobs:
4040
distribution: temurin
4141
java-version: ${{ inputs.java-version }}
4242
cache : sbt
43-
44-
- name: Get version string for this build
45-
run: |
46-
ver=$(./project/scripts/sbt "print scala3-compiler-bootstrapped/version" | tail -n1)
47-
echo "This build version: $ver"
48-
echo "THISBUILD_VERSION=$ver" >> $GITHUB_ENV
49-
43+
5044
- name: Build and pack the SDK (universal)
5145
run : ./project/scripts/sbt dist/packArchive
5246

5347
- name: Upload zip archive to GitHub Artifact (universal)
5448
uses: actions/upload-artifact@v4
5549
id : universal
5650
with:
57-
path: ./dist/target/scala3-${{env.THISBUILD_VERSION}}.zip
51+
path: ./dist/target/pack/*
5852
name: scala3-universal
5953

6054
- name: Compute SHA256 of the uploaded artifact (universal)

0 commit comments

Comments
 (0)