From 13656472c6643e2fdbae390498fb46671c8cc980 Mon Sep 17 00:00:00 2001 From: Roman Podoliaka Date: Mon, 25 Nov 2024 21:27:15 +0000 Subject: [PATCH] ci: fix the release workflow Apparentely, actions/attest doesn't like absolute paths on Windows. --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0dd0490..22251f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,8 +92,9 @@ jobs: tar cvzf $ASSET_NAME xsnippet-api fi gh release upload $RELEASE_TAG $ASSET_NAME - echo "asset_path=$PWD/$ASSET_NAME" >> $GITHUB_OUTPUT popd + + echo "asset_path=target/${TARGET}/release/$ASSET_NAME" >> $GITHUB_OUTPUT env: ASSET_NAME: ${{ matrix.name }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}