diff --git a/.github/actions/setup-build/action.yaml b/.github/actions/setup-build/action.yaml index 2e482b49..ff2adf87 100644 --- a/.github/actions/setup-build/action.yaml +++ b/.github/actions/setup-build/action.yaml @@ -39,8 +39,7 @@ runs: baseVersion=$(sbt 'eval Build.baseVersion' | grep 'ans: String =' | awk '{ print $5 }' | xargs) # `SNAPSHOT` substring is required to treat compiler as experimental # All compilers build from branch are treated experimental - scalaVersion="${baseVersion}-${commitDate}-${commitHash}-SNAPSHOT" - echo $scalaVersion | base64 + scalaVersion=${baseVersion}-${commitDate}-${commitHash}-SNAPSHOT fi baseMavenRepo="https://scala3.westeurope.cloudapp.azure.com/maven2" @@ -74,26 +73,23 @@ runs: echo "is-compiler-published=${isPublished}" >> $GITHUB_OUTPUT - name: Build compiler - uses: addnab/docker-run-action@v3 if: steps.check-published.outputs.is-compiler-published == 'false' - with: - image: "lampepfl/dotty:2024-10-18" - options: -v ${{ github.workspace }}/compiler:/compiler/ - run: | - echo '##################################' - echo "Release Scala in version: ${{ steps.calc-version.outputs.effective-scala-version }}" - echo "Maven repo at: ${{ steps.calc-version.outputs.effective-maven-url }}" - echo '##################################' + shell: bash + run: | + echo '##################################' + echo "Release Scala in version: ${{ steps.calc-version.outputs.effective-scala-version }}" + echo "Maven repo at: ${{ steps.calc-version.outputs.effective-maven-url }}" + echo '##################################' - cd /compiler/ - PATH="/usr/lib/jvm/java-8-openjdk-amd64/bin:$PATH" + cd ${{ github.workspace }}/compiler/ + # PATH="/usr/lib/jvm/java-8-openjdk-amd64/bin:$PATH" - java -version - set -x - sbt \ - 'set every publishTo := Some("Community Build Repo" at "${{ steps.calc-version.outputs.effective-maven-url }}")' \ - \;'show scala3-bootstrapped/publishTo' \ - \;'set every version := "${{ steps.calc-version.outputs.effective-scala-version }}"' \ - \;'show scala3-bootstrapped/version' \ - \;"scala3-interfaces/publish" \ - \;"scala3-bootstrapped/publish" + java -version + set -x + sbt \ + 'set every publishTo := Some("Community Build Repo" at "${{ steps.calc-version.outputs.effective-maven-url }}")' \ + \;'show scala3-bootstrapped/publishTo' \ + \;'set every version := "${{ steps.calc-version.outputs.effective-scala-version }}"' \ + \;'show scala3-bootstrapped/version' \ + \;"scala3-interfaces/publish" \ + \;"scala3-bootstrapped/publish"