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