Skip to content

Commit

Permalink
Latest versions of workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Mar 16, 2023
1 parent 4bfbfa9 commit df78183
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .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

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows.yml
Expand Up @@ -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: |
Expand Down

0 comments on commit df78183

Please sign in to comment.