Upgrade Scala 3.3.5 -> 3.3.6 (#1735) #11
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cut a release whenever a new tag is pushed to the repo. | ||
# You should use an annotated tag, like `git tag -a v1.2.3`. | ||
name: Release | ||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
# In case of problems, enable manual dispatch from the GitHub UI. | ||
workflow_dispatch: | ||
inputs: | ||
tag_name: | ||
required: true | ||
type: string | ||
# Uses the `release_ruleset` workflow to generate provenance attestation files | ||
# referenced by the `publish-to-bcr` workflow. | ||
# | ||
# Based on .github/workflows/release.yml from aspect-build/rules_lint v1.3.5. | ||
# See .bcr/README.md. | ||
permissions: | ||
attestations: write # Needed to attest provenance | ||
contents: write # Needed to create release | ||
id-token: write # Needed to attest provenance | ||
jobs: | ||
release: | ||
uses: bazel-contrib/.github/.github/workflows/[email protected] | ||
with: | ||
bazel_test_command: "bazel test //src/... //test/... //third_party/..." | ||
prerelease: false | ||
release_files: rules_scala-*.tar.gz | ||
release_prep_command: .github/workflows/workspace_snippet.sh | ||
tag_name: ${{ inputs.tag_name || github.ref_name }} | ||
publish-to-bcr: | ||
needs: release | ||
uses: ./.github/workflows/publish-to-bcr.yml | ||
with: | ||
tag_name: ${{ inputs.tag_name || github.ref_name }} | ||
secrets: | ||
bcr_publish_token: ${{ secrets.bcr_publish_token }} |