Skip to content

Commit 000213d

Browse files
committed
use a sparse checkout of the main repo to get the script
It's not in the tarball Signed-off-by: Brice Goglin <[email protected]>
1 parent 3600693 commit 000213d

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/buildcheck.yaml

+14-2
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,18 @@ jobs:
4444
run: |
4545
sudo apt update
4646
sudo apt install -y --no-install-recommends pkg-config libcairo2-dev libxml2-dev
47+
- uses: actions/checkout@v4
48+
with:
49+
sparse-checkout: '.github/workflows'
50+
sparse-checkout-cone-mode: false
4751
- name: Download tarball
4852
uses: actions/download-artifact@v3
4953
with:
5054
name: Tarball
5155
- name: Extract, build and check
52-
run: $GITHUB_WORKSPACE/.github/workflows/job-1-check.sh hwloc-*.tar.gz
56+
run: |
57+
ls -la
58+
$GITHUB_WORKSPACE/.github/workflows/job-1-check.sh hwloc-*.tar.gz
5359
check-tarball-gh-macos-latest:
5460
name: Check tarball on GH macos-latest
5561
needs: build-tarball
@@ -59,12 +65,18 @@ jobs:
5965
run: |
6066
brew install pkg-config
6167
brew install cairo
68+
- uses: actions/checkout@v4
69+
with:
70+
sparse-checkout: '.github/workflows'
71+
sparse-checkout-cone-mode: false
6272
- name: Download tarball
6373
uses: actions/download-artifact@v3
6474
with:
6575
name: Tarball
6676
- name: Extract, build and check
67-
run: $GITHUB_WORKSPACE/.github/workflows/job-1-check.sh hwloc-*.tar.gz
77+
run: |
78+
ls -la
79+
$GITHUB_WORKSPACE/.github/workflows/job-1-check.sh hwloc-*.tar.gz
6880
# check-tarball:
6981
# name: Check tarball on GH runners
7082
# needs: build-tarball

0 commit comments

Comments
 (0)