We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e2b75b commit 72cef7aCopy full SHA for 72cef7a
.github/workflows/ci.yaml
@@ -766,6 +766,18 @@ jobs:
766
- name: Extract the release tag
767
run : echo "RELEASE_TAG=${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV
768
769
+ - name: Check compiler version
770
+ shell: bash
771
+ run : |
772
+ # Pipe through xargs to remove whitespaces
773
+ version=$(sbt "scala3-compiler-bootstrapped/version" | grep -oEh "3\.\d+\.\d+([-a-zA-Z1-9]+)?" | xargs)
774
+ if [ "${version}" = "${{ env.RELEASE_TAG }}" ]; then
775
+ echo "Compiler version '${version}' matches tag: ${{ env.RELEASE_TAG }}"
776
+ else
777
+ echo "Invalid compiler version '${version}', does not match tag: ${{ env.RELEASE_TAG }}"
778
+ exit 1
779
+ fi
780
+
781
- name: Prepare the SDKs
782
shell: bash
783
run : |
0 commit comments