Skip to content

Commit

Permalink
Rework release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
purkhusid committed Nov 14, 2024
1 parent b09dd53 commit b788437
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,26 @@ on:

jobs:
release:
uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7
with:
release_files: rules_dotnet-*.tar.gz
prerelease: false
mount_bazel_caches: false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

# Disable the build since we use the Bazel CI for it anyways. We were also hitting issues with
# the disks on the Github runner being too small for the build
# - name: Test
# run: bazel test //...

- name: Build release artifacts and prepare release notes
run: |
.github/workflows/release_prep.sh ${{ env.GITHUB_REF_NAME }} > release_notes.txt
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: false
# Use GH feature to populate the changelog automatically
generate_release_notes: true
body_path: release_notes.txt
fail_on_unmatched_files: true
files: rules_dotnet-*.tar.gz

0 comments on commit b788437

Please sign in to comment.