Skip to content

Commit

Permalink
One-off build some Erlang versions missing for Noble
Browse files Browse the repository at this point in the history
This is to get parity with the packages we have for Jammy and Focal.

We are missing these because they have no corresponding GitHub release at https://github.com/erlang/otp/releases.

A bit defensive settings for parallelism as it's nice to see one builds fine before having multiple failures at once :-)
  • Loading branch information
walro committed Aug 28, 2024
1 parent 3ac4624 commit c248af1
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions .github/workflows/build-all-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,24 @@ concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
missing-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
- name: Check missing versions
id: missing-versions
run: echo "matrix=$(bin/missing-versions)" >> "$GITHUB_OUTPUT"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
outputs:
matrix: ${{ steps.missing-versions.outputs.matrix }}

build-and-upload:
needs: missing-versions
runs-on: ubuntu-latest
strategy:
max-parallel: 10
max-parallel: 1
matrix:
include: ${{ fromJson(needs.missing-versions.outputs.matrix) }}
fail-fast: false
image: "ubuntu:noble"
version:
- "18.0"
- "18.1"
- "18.2"
- "18.3"
- "19.3.6.13"
- "20.0.5"
- "20.1.7.1"
- "20.3.8.22"
- "20.3.8.26"
platform: [amd64, arm64]
fail-fast: true
permissions:
contents: read
id-token: write
Expand Down

0 comments on commit c248af1

Please sign in to comment.