Switch to setup-alire@v1 (#363)

* Switch to setup-alire@v1

* Code review
This commit is contained in:
Alejandro R Mosteo
2021-09-20 15:47:15 +02:00
committed by GitHub
parent aff0a2827d
commit 712789a75c
2 changed files with 16 additions and 19 deletions
+9 -10
View File
@@ -14,15 +14,15 @@ jobs:
strategy:
matrix:
os:
os:
- macos-latest
- ubuntu-latest
- windows-latest
tag:
- arch-rolling
- centos-latest-community-latest
- community-current
- debian-stable
- community-current
- debian-stable
- ubuntu-lts
- ""
exclude: # inclusions don't allow to add arrays of values to a scenario
@@ -73,13 +73,16 @@ jobs:
- name: Set up stable `alr`
if: contains(github.base_ref, 'stable-')
uses: alire-project/setup-alire@latest-stable
uses: alire-project/setup-alire@v1
with:
toolchain: --disable-assistant # We want to use the external ones in this workflow
- name: Set up devel `alr`
if: contains(github.base_ref, 'devel-')
uses: alire-project/setup-alire@latest-devel
uses: alire-project/setup-alire@v1
with:
toolchain: --disable-assistant # We want to use the external ones
toolchain: --disable-assistant # We want to use the external ones in this workflow
branch: master
- name: Test crate (Linux)
if: matrix.os == 'ubuntu-latest' # docker testing only for linuxes
@@ -89,10 +92,6 @@ jobs:
command: scripts/gh-build-crate.sh
params: -v ${{ github.workspace }}/alire_install/bin/alr:/usr/bin/alr
- name: Set up msys2 (Windows)
if: matrix.os == 'windows-latest'
run: ./alire_install/bin/alr --non-interactive version
- name: Install tar from msys2 (Windows) # Git tar in Actions VM does not seem to work)
if: matrix.os == 'windows-latest'
run: C:\Users\runneradmin\.cache\alire\msys64\usr\bin\pacman --noconfirm -S tar