diff --git a/.github/julia/build_tarballs_yggdrasil.jl b/.github/julia/build_tarballs_yggdrasil.jl index 2d39b816..13176dce 100644 --- a/.github/julia/build_tarballs_yggdrasil.jl +++ b/.github/julia/build_tarballs_yggdrasil.jl @@ -4,14 +4,14 @@ using BinaryBuilder, Pkg haskey(ENV, "UNO_RELEASE") || error("The environment variable UNO_RELEASE is not defined.") haskey(ENV, "UNO_COMMIT") || error("The environment variable UNO_COMMIT is not defined.") +haskey(ENV, "UNO_URL") || error("The environment variable UNO_URL is not defined.") name = "Uno" version = VersionNumber(ENV["UNO_RELEASE"]) # Collection of sources required to complete build sources = [ - GitSource("https://github.com/cvanaret/Uno.git", - ENV["UNO_COMMIT"]) + GitSource(ENV["UNO_URL"], ENV["UNO_COMMIT"]) ] script = raw""" diff --git a/.github/workflows/julia-tests-ubuntu.yml b/.github/workflows/julia-tests-ubuntu.yml index 662de4cf..cef66123 100644 --- a/.github/workflows/julia-tests-ubuntu.yml +++ b/.github/workflows/julia-tests-ubuntu.yml @@ -26,6 +26,7 @@ jobs: echo "BINARYBUILDER_AUTOMATIC_APPLE=true" >> $GITHUB_ENV echo "UNO_RELEASE=1.1.1" >> $GITHUB_ENV echo "UNO_COMMIT=${{ github.sha }}" >> $GITHUB_ENV + echo "UNO_URL=https://github.com/${{ github.repository }}.git" >> $GITHUB_ENV - name: Generate Uno_jll.jl run: | julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'