diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 9db4d9d..fb5ed96 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -37,9 +37,10 @@ jobs: - name: Upload archive run: | + cd "target/release" ARCHIVE="${APP}-${VERSION}-${CARCH}.tar.xz" - tar -cvJf "${ARCHIVE}" -C "target/release" "${APP}" - sha256sum "${ARCHIVE}" + sha256sum "${APP}" > "sha256sums.txt" + tar -cvJf "${ARCHIVE}" "${APP}" "sha256sums.txt" curl -L \ -X POST \ -H "Accept: application/vnd.github+json" \