From e76e93e0f8dd562e65b44ff6f11872eef739579c Mon Sep 17 00:00:00 2001 From: yash-zededa Date: Tue, 3 Sep 2024 22:44:31 +0200 Subject: [PATCH] fix: updated publish.yml to use the github.ref_name This will ensure that assets from various architecture builds are successfully uploaded to the release. Added a `make_latest` attribute to prevent uploaded builds from being marked as the latest. Since we have multiple tagged builds, we'll manually designate the latest build. Signed-off-by: yash-zededa (cherry picked from commit da76c1e4789d3b85c72a6c3dde6131ac2b6947d9) --- .github/workflows/assets.yml | 1 + .github/workflows/publish.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index e8c1fcf6eb..433afc4d81 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -99,6 +99,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ inputs.tag_ref }} + make_latest: false files: | assets/${{ env.ARCH }}.rootfs.img assets/${{ env.ARCH }}.kernel diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 264671b904..f422dad37c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -164,4 +164,4 @@ jobs: needs: [manifest, verification, eve] uses: lf-edge/eve/.github/workflows/assets.yml@master with: - tag_ref: ${{ github.ref }} + tag_ref: ${{ github.ref_name }}