Skip to content

Commit 500bf5c

Browse files
committed
Fix release artifact rename step
1 parent 942d35c commit 500bf5c

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,16 @@ jobs:
5959

6060
- name: Rename and generate checksums
6161
run: |
62-
mv artifacts/deadlight-linux-amd64/deadlight artifacts/deadlight-linux-amd64
63-
mv artifacts/deadlight-linux-arm64/deadlight artifacts/deadlight-linux-arm64
64-
sha256sum artifacts/deadlight-linux-amd64 artifacts/deadlight-linux-arm64 > artifacts/checksums.txt
62+
mkdir -p release
63+
cp artifacts/deadlight-linux-amd64/deadlight release/deadlight-linux-amd64
64+
cp artifacts/deadlight-linux-arm64/deadlight release/deadlight-linux-arm64
65+
cd release
66+
sha256sum deadlight-linux-amd64 deadlight-linux-arm64 > checksums.txt
6567
6668
- name: Create Release
6769
uses: softprops/action-gh-release@v2
6870
with:
6971
files: |
70-
artifacts/deadlight-linux-amd64
71-
artifacts/deadlight-linux-arm64
72-
artifacts/checksums.txt
72+
release/deadlight-linux-amd64
73+
release/deadlight-linux-arm64
74+
release/checksums.txt

0 commit comments

Comments
 (0)