Skip to content

fix: omit stderr from metadata when generating hashes (#330) #16

fix: omit stderr from metadata when generating hashes (#330)

fix: omit stderr from metadata when generating hashes (#330) #16

Workflow file for this run

# Cut a release whenever a new tag is pushed or via workflow_dispatch.

Check failure on line 1 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

(Line: 23, Col: 9): A sequence was not expected
# Uses bazel-contrib release ruleset: build, attest, and publish to GitHub Releases.
name: Release
on:
workflow_dispatch:
inputs:
tag_name:
description: Git tag being released
required: true
type: string
push:
tags:
- "v*.*.*"
permissions:
id-token: write
attestations: write
contents: write
jobs:
release:
uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7.4.0
with:
release_files:
- archives/release.tar.gz
- archives/bazel-diff_deploy.jar
prerelease: false
draft: true
tag_name: ${{ inputs.tag_name || github.ref_name }}
permissions:
id-token: write # Needed to attest provenance
attestations: write # Needed to attest provenance
contents: write # Needed to upload release files
secrets: {}
publish:
needs: release
uses: ./.github/workflows/publish.yaml
with:
tag_name: ${{ inputs.tag_name || github.ref_name }}
secrets:
BCR_PUBLISH_TOKEN: ${{ secrets.BCR_PUBLISH_TOKEN }}
finalize:
needs: publish
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- run: gh release edit "$TAG" --draft=false --repo "$GITHUB_REPOSITORY"
env:
TAG: ${{ inputs.tag_name || github.ref_name }}
GH_TOKEN: ${{ github.token }}