Skip to content

Download from CPAN

Download from CPAN #6

name: Download from CPAN
on:
workflow_dispatch
# push:
# branches: 'main'
# pull_request:
# branches: '*'
# schedule:
# - cron: '42 5 * * 0'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
#os: ['ubuntu-latest','macos-latest','macos-12']
os: ['ubuntu-latest','macos-latest','windows-latest']
perl: [ '5.30']
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Get version
id: get_version
run: echo "::set-output name=VERSION::$(cat VERSION)"
- name: Install and test (no coverage)
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- run: perl -V
- run: cpanm -n Convert::Pheno@${{ steps.get_version.outputs.VERSION }}