From 6b091299114416002bb89475a7cbd234c97608e9 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 7 Feb 2025 16:25:29 -0800 Subject: [PATCH] Fix github release yaml --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d0f6ed0..21559fc5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -282,10 +282,10 @@ jobs: - name: Create GitHub Release env: GITHUB_TOKEN: ${{ github.token }} - run: | + run: >- gh release create - '${{ github.ref_name }}' - --repo '${{ github.repository }}' + "$GITHUB_REF_NAME" + --repo "$GITHUB_REPOSITORY" --notes "" - name: Upload artifact signatures to GitHub Release @@ -294,10 +294,10 @@ jobs: # Upload to GitHub Release using the `gh` CLI. # `dist/` contains the built packages, and the # sigstore-produced signatures and certificates. - run: | + run: >- gh release upload - '${{ github.ref_name }}' dist/** - --repo '${{ github.repository }}' + "$GITHUB_REF_NAME" dist/** + --repo "$GITHUB_REPOSITORY" docker_ubuntu: name: Build Ubuntu-based Docker image