Download from CPAN #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |