From 8bf6b85650804bb643fb8bce1d2b044ea161838b Mon Sep 17 00:00:00 2001 From: Green Sky Date: Fri, 19 Jan 2024 13:13:38 +0100 Subject: [PATCH] try fix upload and change rel name --- .github/workflows/cd.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d1105b0..e834dbd 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -127,7 +127,9 @@ jobs: - name: Download artifacts id: download-artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 + with: + path: ./artifacts/ - name: Create release env: @@ -137,7 +139,7 @@ jobs: run: | gh release create "$tag" \ --repo="$GITHUB_REPOSITORY" \ - --title="${GITHUB_REPOSITORY#*/} ${tag#v} nightly" \ + --title="nightly ${tag#v}" \ --generate-notes \ --prerelease @@ -147,5 +149,6 @@ jobs: tag: ${{ steps.tag.outputs.name }} shell: bash run: | - gh release upload "$tag" ./artifact \ + ls -la + gh release upload "$tag" ./artifacts/ \ --repo="$GITHUB_REPOSITORY"