Skip to content

Commit 50074dc

Browse files
committed
Specify name and path for download-artifact action
1 parent cf631bf commit 50074dc

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
steps:
5353
- name: Download artifacts
5454
uses: actions/download-artifact@v6
55+
with:
56+
name: source
57+
path: source/
5558

5659
- name: Setup Haskell
5760
uses: haskell-actions/setup@v2
@@ -73,14 +76,17 @@ jobs:
7376
needs: package_source
7477
strategy:
7578
matrix:
76-
build: [linux.x86_64, linux.aarch64, linux.armv6hf, linux.riscv64, darwin.x86_64, darwin.aarch64, windows.x86_64]
79+
build: [linux.x86_64, linux.aarch64, linux.riscv64, darwin.x86_64, darwin.aarch64, windows.x86_64] # linux.armv6hf,
7780
runs-on: ubuntu-latest
7881
steps:
7982
- name: Checkout repository
8083
uses: actions/checkout@v5
8184

8285
- name: Download artifacts
8386
uses: actions/download-artifact@v6
87+
with:
88+
name: source
89+
path: source/
8490

8591
- name: Build source
8692
run: |
@@ -105,6 +111,9 @@ jobs:
105111
- name: Download artifacts
106112
uses: actions/download-artifact@v6
107113

114+
- name: List files for debugging
115+
run: find .
116+
108117
- name: Work around GitHub permissions bug
109118
run: chmod +x *.bin/*/shellcheck*
110119

@@ -137,8 +146,17 @@ jobs:
137146
- name: Checkout repository
138147
uses: actions/checkout@v5
139148

140-
- name: Download artifacts
149+
- name: Download artifacts (source)
141150
uses: actions/download-artifact@v6
151+
with:
152+
name: source
153+
path: source/
154+
155+
- name: Download artifacts (binaries)
156+
uses: actions/download-artifact@v6
157+
with:
158+
name: deploy
159+
path: deploy/
142160

143161
- name: Upload to GitHub
144162
env:

0 commit comments

Comments
 (0)