Install msys2's tar before Windows checks (#109)

This commit is contained in:
Alejandro R Mosteo
2020-04-22 12:11:24 +02:00
committed by GitHub
parent 8989c3eb3e
commit b63a28b415
+8
View File
@@ -67,6 +67,14 @@ jobs:
image: alire/gnat:${{matrix.tag}}
command: scripts/gh-build-crate.sh
- name: Set up msys2 (Windows)
if: matrix.os == 'windows-latest'
run: ./alire/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
- name: Test crate (Windows/MacOS)
if: matrix.os != 'ubuntu-latest' # native testing in Windows/MacOS
run: scripts/gh-build-crate.sh