Skip to content

Commit fee6c0f

Browse files
committed
Fix release workflow to correctly handle artifacts
1 parent 7472008 commit fee6c0f

File tree

1 file changed

+5
-22
lines changed

1 file changed

+5
-22
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
pkg-config \
4646
libdbus-1-dev \
4747
libbluetooth-dev
48-
4948
- name: Install Rust toolchain
5049
uses: dtolnay/rust-toolchain@stable
5150

@@ -91,33 +90,17 @@ jobs:
9190
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
9291

9392
- name: Download artifacts
94-
uses: actions/download-artifact@v4
95-
with:
96-
name: MusicalJoycons-linux-x86_64
97-
path: release
98-
99-
- name: Download artifacts
100-
uses: actions/download-artifact@v4
93+
uses: actions/download-artifact@v3
10194
with:
102-
name: MusicalJoycons-windows-x86_64
10395
path: release
10496

105-
- name: Download artifacts
106-
uses: actions/download-artifact@v4
107-
with:
108-
name: MusicalJoycons-macos-x86_64
109-
path: release
110-
111-
- name: List downloaded files
112-
run: ls -R release
113-
11497
- name: Create Release
115-
uses: softprops/action-gh-release@v2.2.0
98+
uses: softprops/action-gh-release@v1
11699
with:
117100
files: |
118-
release/MusicalJoycons-linux-x86_64.tar.gz
119-
release/MusicalJoycons-windows-x86_64.zip
120-
release/MusicalJoycons-macos-x86_64.tar.gz
101+
release/MusicalJoycons-linux-x86_64/MusicalJoycons-linux-x86_64.tar.gz
102+
release/MusicalJoycons-windows-x86_64/MusicalJoycons-windows-x86_64.zip
103+
release/MusicalJoycons-macos-x86_64/MusicalJoycons-macos-x86_64.tar.gz
121104
name: "Musical Joycons ${{ env.VERSION }}"
122105
draft: false
123106
prerelease: false

0 commit comments

Comments
 (0)