Perl and OS matrix
examples/workflows/perl-os-matrix.yml
name: OS and Perl Matrix on: push jobs: build: strategy: fail-fast: false matrix: runner: [ubuntu-latest, macos-latest, windows-latest] perl: [ '5.32', '5.30' ] runs-on: ${{matrix.runner}} name: OS ${{matrix.runner}} Perl ${{matrix.perl}} steps: - uses: actions/checkout@v3 - name: Set up perl uses: shogo82148/actions-setup-perl@v1 with: perl-version: ${{ matrix.perl }} #distribution: strawberry - name: View environment run: | uname -a printenv | sort perl -v #- name: Install cpanm # if: ${{ matrix.runner != "windows-latest" }} # run: | # curl -L https://cpanmin.us | perl - App::cpanminus - name: Install module run: | cpanm Module::Runtime # cpanm MetaCPAN::Client