Run Erlang/OTP 25 release builds

Closes #14113.
This commit is contained in:
José Valim
2024-12-25 09:57:59 +01:00
parent 933b008ab8
commit 45e348b1f5
2 changed files with 13 additions and 7 deletions
+11 -5
View File
@@ -59,11 +59,17 @@ jobs:
fail-fast: true
matrix:
include:
- otp: 25
otp_version: "25.3"
run_job: ${{ startsWith(github.ref_name, 'v1.18') }}
- otp: 26
otp_version: "26.0"
run_job: true
- otp: 27
otp_version: "27.0"
build_docs: build_docs
run_job: true
if: ${{ matrix.run_job == 'true' }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
@@ -113,7 +119,7 @@ jobs:
with:
name: Docs
path: Docs.zip*
sign:
needs: [build]
strategy:
@@ -158,14 +164,14 @@ jobs:
run: cp "$ATTESTATION" "${RELEASE_FILE}.sigstore"
env:
ATTESTATION: "${{ steps.attest-provenance.outputs.bundle-path }}"
- name: Create Release Hashes
if: matrix.flavor == 'windows'
shell: pwsh
run: |
$sha1 = Get-FileHash "$env:RELEASE_FILE" -Algorithm SHA1
$sha1.Hash.ToLower() + " " + $env:RELEASE_FILE | Out-File "$env:RELEASE_FILE.sha1sum"
$sha256 = Get-FileHash "$env:RELEASE_FILE" -Algorithm SHA256
$sha256.Hash.ToLower() + " " + $env:RELEASE_FILE | Out-File "$env:RELEASE_FILE.sha256sum"
@@ -189,7 +195,7 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
pattern: '{sign-*-elixir-otp-*,Docs}'
pattern: "{sign-*-elixir-otp-*,Docs}"
merge-multiple: true
- name: Upload Pre-built
@@ -233,7 +239,7 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
pattern: '{sign-*-elixir-otp-*,Docs}'
pattern: "{sign-*-elixir-otp-*,Docs}"
merge-multiple: true
- name: Init purge keys file
+2 -2
View File
@@ -22,7 +22,7 @@
### In the new branch
1. Comment out `CANONICAL=` in /Makefile
1. Comment the `CANONICAL=` in /Makefile
2. Update tables in /SECURITY.md and "Compatibility and Deprecations"
@@ -44,6 +44,6 @@
2. Update `otp_release` checks in `/Makefile` and `/lib/elixir/src/elixir.erl`
3. Update relevant CI workflows in `/.github/workflows/*.yml`
3. Update relevant CI workflows in `/.github/workflows/*.yml` - for release workflows, outdated/recently added Erlang/OTP versions must run conditionally
4. Remove `otp_release` version checks that are no longer needed