Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit 061d7b5

Browse files
authored
release.yml now downloads specific artifacts for release (#332)
Signed-off-by: danbugs <[email protected]>
1 parent 79b35ed commit 061d7b5

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

.github/workflows/release.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,18 @@ jobs:
4545

4646
- uses: actions/download-artifact@v3
4747
with:
48-
path: ./
48+
name: c-template.tar.gz
49+
if: ${{ fromJSON(matrix.config.os == 'ubuntu-latest') }}
50+
51+
- uses: actions/download-artifact@v3
52+
with:
53+
name: rust-template.tar.gz
54+
if: ${{ fromJSON(matrix.config.os == 'ubuntu-latest') }}
55+
56+
- uses: actions/download-artifact@v3
57+
with:
58+
name: slight-linux-x86_64.tar.gz
59+
if: ${{ fromJSON(matrix.config.os == 'ubuntu-latest') }}
4960

5061
- name: "add wits, and slight-linux-x86_64 and templates tars to release"
5162
uses: softprops/action-gh-release@v1
@@ -56,13 +67,24 @@ jobs:
5667
wit/*.wit
5768
if: ${{ fromJSON(matrix.config.os == 'ubuntu-latest') }}
5869

70+
- uses: actions/download-artifact@v3
71+
with:
72+
name: slight-windows-x86_64.tar.gz
73+
if: ${{ fromJSON(matrix.config.os == 'windows-latest') }}
74+
5975
- name: "add slight-windows tar to release"
6076
uses: softprops/action-gh-release@v1
6177
with:
6278
files: |
6379
slight-windows-x86_64.tar.gz
6480
if: ${{ fromJSON(matrix.config.os == 'windows-latest') }}
6581

82+
- uses: actions/download-artifact@v3
83+
with:
84+
name: slight-macos-amd64.tar.gz
85+
if: ${{ fromJSON(matrix.config.os == 'macos-latest') &&
86+
fromJSON(matrix.config.arch == 'amd64') }}
87+
6688
- name: "add slight-macos-amd64 tar to release"
6789
uses: softprops/action-gh-release@v1
6890
with:
@@ -71,6 +93,12 @@ jobs:
7193
if: ${{ fromJSON(matrix.config.os == 'macos-latest') &&
7294
fromJSON(matrix.config.arch == 'amd64') }}
7395

96+
- uses: actions/download-artifact@v3
97+
with:
98+
name: slight-macos-aarch64.tar.gz
99+
if: ${{ fromJSON(matrix.config.os == 'macos-latest') &&
100+
fromJSON(matrix.config.arch == 'aarch64') }}
101+
74102
- name: "add slight-macos-aarch64 tar to release"
75103
uses: softprops/action-gh-release@v1
76104
with:

0 commit comments

Comments
 (0)