From df78183961e6c15e8c291b1b1aa2dc35ea657768 Mon Sep 17 00:00:00 2001 From: brian d foy Date: Thu, 16 Mar 2023 06:51:38 -0400 Subject: [PATCH] Latest versions of workflows --- .appveyor.yml | 15 +++++++++------ .github/workflows/release.yml | 2 +- .github/workflows/windows.yml | 1 + 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index a18326c..2adf776 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,15 +1,17 @@ # brian's standard Appveyor config for Perl 5 modules # https://github.com/briandfoy/brians_perl_modules_appveyor_config # This file is licensed under the Artistic License 2.0 - +# version 20230308 +--- image: - Visual Studio 2019 - Visual Studio 2022 - - ubuntu1804 - ubuntu2004 environment: PERL5LIB: /home/appveyor/perl5/lib/perl5 + DEBIAN_FRONTEND: noninteractive + SP: C:\strawberry platform: x64 @@ -22,15 +24,16 @@ skip_tags: true install: - cmd: if not exist "C:\strawberry" cinst strawberryperl - - cmd: set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH% + - cmd: set PATH=%SP%\perl\bin;%SP%\perl\site\bin;%SP%\c\bin;%PATH% - cmd: cd %APPVEYOR_BUILD_FOLDER% - - sh: sudo apt-get update - - sh: sudo env DEBIAN_FRONTEND=noninteractive apt-get -yq install build-essential git libssl-dev + - sh: sudo apt-get update --allow-releaseinfo-change + - sh: sudo env apt-get -yq install build-essential git libssl-dev - sh: sudo apt-get install -y perl - sh: export PATH=/home/appveyor/perl5/bin:$PATH - perl -v - cpan -M https://www.cpan.org -T App::cpanminus ExtUtils::MakeMaker - - cpanm --notest --installdeps . + - cmd: cpanm --notest --installdeps . + - sh: cpanm --local-lib=/home/appveyor/perl5 --notest --installdeps . build_script: - perl Makefile.PL diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 39adacd..8e59b1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: make disttest make dist 2>/dev/null | grep Created | awk '{ print "ASSET_NAME=" $2 }' >> $GITHUB_ENV - name: version - run: echo "::set-output name=version::$(perl -le 'print $ARGV[0] =~ m/(.*?).tar.gz/' *.tar.gz)" + run: echo "version=$(perl -le 'print $ARGV[0] =~ m/(.*?).tar.gz/' *.tar.gz)" >> $GITHUB_OUTPUT id: version - name: release uses: actions/create-release@v1 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ca998a8..d048dc9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -44,6 +44,7 @@ jobs: - windows-2019 - windows-2022 steps: + - run: git config --global core.autocrlf false - uses: actions/checkout@v3 - name: Set up Perl run: |