Skip to content

Commit

Permalink
workflow: get versions from builder
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Jun 8, 2024
1 parent d2fd23f commit 5127ff2
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/multiperl-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,21 @@ on:
jobs:
build-tarball:
runs-on: ubuntu-latest
outputs:
perl-versions: ${{ steps.build-archive.outputs.perl-versions }}
steps:
- name: Build archive
id: build-archive
uses: rjbs/dzil-build@main

perl-versions:
runs-on: ubuntu-latest
name: list perl versions
outputs:
perl-versions: ${{ steps.action.outputs.perl-versions }}
steps:
- id: action
uses: perl-actions/perl-versions@v1
with:
since-perl: v5.20.0 # does this work?
with-devel: false

multiperl-test:
needs: build-tarball
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
perl-version: [ "devel", "5.38", "5.36", "5.34", "5.32", "5.30", "5.28", "5.26", "5.24", "5.22", "5.20" ]
perl-version: ${{ fromJson(needs.build-tarball.outputs.perl-versions) }}

container:
image: perldocker/perl-tester:${{ matrix.perl-version }}
Expand Down

0 comments on commit 5127ff2

Please sign in to comment.