Skip to content

Commit c280abe

Browse files
committed
🐛 Update release artifact paths to remove target directory prefix
1 parent e33df7d commit c280abe

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
name: ${{ matrix.asset_name }}
4545
path: target/${{ matrix.target }}/release/${{ matrix.artifact_name }}
4646
if-no-files-found: error
47+
retention-days: 1
4748

4849
docker:
4950
name: Build and Push Docker image
@@ -83,22 +84,18 @@ jobs:
8384
runs-on: ubuntu-latest
8485
permissions:
8586
packages: write
86-
contents: read
87+
contents: write
8788
steps:
8889
- name: Download artifacts
8990
uses: actions/download-artifact@v4
9091
with:
91-
path: target
92+
pattern: mq-*
93+
path: ../target
9294
- name: Create Release
9395
id: create_release
9496
uses: softprops/action-gh-release@v2
9597
with:
96-
files: |
97-
target/x86_64-unknown-linux-gnu/release/mq-x86_64-unknown-linux-gnu
98-
target/aarch64-unknown-linux-gnu/release/mq-aarch64-unknown-linux-gnu
99-
target/x86_64-pc-windows-msvc/release/mq-x86_64-pc-windows-msvc.exe
100-
target/x86_64-apple-darwin/release/mq-x86_64-apple-darwin
101-
target/aarch64-apple-darwin/release/mq-aarch64-apple-darwin
98+
files: target/*
10299
draft: true
103100
prerelease: false
104101
generate_release_notes: true

0 commit comments

Comments
 (0)