Skip to content

Commit

Permalink
Don't use prebuilt archive, create zip with content of dist/target/pa…
Browse files Browse the repository at this point in the history
…ck 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
  • Loading branch information
WojciechMazur committed Dec 2, 2024
1 parent 630fc51 commit 90d90bd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,15 @@ jobs:
distribution: temurin
java-version: ${{ inputs.java-version }}
cache : sbt

- name: Get version string for this build
run: |
ver=$(./project/scripts/sbt "print scala3-compiler-bootstrapped/version" | tail -n1)
echo "This build version: $ver"
echo "THISBUILD_VERSION=$ver" >> $GITHUB_ENV

- name: Build and pack the SDK (universal)
run : ./project/scripts/sbt dist/packArchive

- name: Upload zip archive to GitHub Artifact (universal)
uses: actions/upload-artifact@v4
id : universal
with:
path: ./dist/target/scala3-${{env.THISBUILD_VERSION}}.zip
path: ./dist/target/pack/*
name: scala3-universal

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

0 comments on commit 90d90bd

Please sign in to comment.