Fix: update workflow for new cache location
This commit is contained in:
@@ -10,6 +10,7 @@ name: Build Crate (alr dev)
|
||||
env:
|
||||
CHECKS_ORG: alire-project
|
||||
CHECKS_REPO: alire-index-checks
|
||||
PACMAN: C:\Users\runneradmin\AppData\Local\alire\cache\msys64\usr\bin\pacman
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -55,7 +56,7 @@ jobs:
|
||||
|
||||
- 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\AppData\Local\alire\cache\msys64\usr\bin\pacman --noconfirm -S tar
|
||||
run: ${{env.PACMAN}} --noconfirm -S tar
|
||||
|
||||
- name: Test crate
|
||||
run: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
|
||||
|
||||
@@ -7,6 +7,7 @@ env:
|
||||
CHECKS_ORG: alire-project
|
||||
CHECKS_REPO: alire-index-checks
|
||||
ALR_VERSION: 2.0.0
|
||||
PACMAN: C:\Users\runneradmin\AppData\Local\alire\cache\msys64\usr\bin\pacman
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -48,20 +49,20 @@ jobs:
|
||||
# By default, this also sets up the newest indexed native toolchain
|
||||
- name: Set up stable `alr`
|
||||
if: contains(github.base_ref, 'stable-')
|
||||
uses: alire-project/setup-alire@v2
|
||||
uses: alire-project/setup-alire@v3
|
||||
with:
|
||||
version: ${{env.ALR_VERSION}}
|
||||
|
||||
# By default, this also sets up the newest indexed native toolchain
|
||||
- name: Set up devel `alr`
|
||||
if: contains(github.base_ref, 'devel-')
|
||||
uses: alire-project/setup-alire@v2
|
||||
uses: alire-project/setup-alire@v3
|
||||
with:
|
||||
branch: 'master'
|
||||
|
||||
- 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
|
||||
run: ${{env.PACMAN}} --noconfirm -S tar
|
||||
|
||||
- name: Test crate
|
||||
run: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
|
||||
|
||||
Reference in New Issue
Block a user