From ee13600f3105944da41eca91757e7ff5b3051a4d Mon Sep 17 00:00:00 2001 From: Eksperimental Date: Sun, 30 Nov 2025 13:20:33 -0500 Subject: [PATCH] CI: Minor improvements to release_pre_built/action.yml --- .github/workflows/release_pre_built/action.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_pre_built/action.yml b/.github/workflows/release_pre_built/action.yml index a055fe0bf0f..22fc1b04729 100644 --- a/.github/workflows/release_pre_built/action.yml +++ b/.github/workflows/release_pre_built/action.yml @@ -1,33 +1,41 @@ # SPDX-License-Identifier: Apache-2.0 # SPDX-FileCopyrightText: 2021 The Elixir Team -name: "Release pre built" -description: "Builds elixir release, ExDoc and generates docs" +name: Release Pre-build +description: "Builds Elixir release, ExDoc and generates docs" + inputs: otp: description: "The major OTP version" + otp_version: description: "The exact OTP version (major.minor[.patch])" + build_docs: - description: "If docs have to be built or not" + description: "Whether docs have to be built" + runs: using: "composite" + steps: - uses: erlef/setup-beam@5304e04ea2b355f03681464e683d92e3b2f18451 # v1.18.2 with: otp-version: ${{ inputs.otp_version }} version-type: strict + - name: Build Elixir Release shell: bash run: | make Precompiled.zip mv Precompiled.zip elixir-otp-${{ inputs.otp }}.zip echo "$PWD/bin" >> $GITHUB_PATH + - name: Install NSIS shell: bash run: | sudo apt update sudo apt install -y nsis + - name: Build Elixir Windows Installer shell: bash run: |