From 743291c6c4c9393672707a03a96ec43a3d8e9a59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Mon, 31 Jul 2023 23:54:18 +0200 Subject: [PATCH] release: Fix upload-versions-yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This requires the GITHUB_UPLOAD_TOKEN. While we're here, let's also fix the name of the action and remove the "-tarball" suffix, as it's not really a tarball. Fixes: #7497 Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dbdf182402..d732a67231 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -121,11 +121,13 @@ jobs: GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} hub release edit -m "" -a "${tarball}" "${tag}" popd - upload-versions-yaml-tarball: + upload-versions-yaml: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: upload versions.yaml + env: + GITHUB_TOKEN: ${{ secrets.GIT_UPLOAD_TOKEN }} run: | tag=$(echo $GITHUB_REF | cut -d/ -f3-) pushd $GITHUB_WORKSPACE