mirror of
https://github.com/bentoml/OpenLLM.git
synced 2025-12-23 23:57:46 -05:00
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.7 to 4.1.8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](65a9edc588...fa0a91b85d)
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
67 lines
2.3 KiB
YAML
67 lines
2.3 KiB
YAML
name: release-notes
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
tags:
|
|
description: 'Tag for releases'
|
|
required: true
|
|
type: string
|
|
workflow_call:
|
|
inputs:
|
|
tags:
|
|
required: true
|
|
type: string
|
|
env:
|
|
HATCH_VERBOSE: 2
|
|
defaults:
|
|
run:
|
|
shell: bash --noprofile --norc -exo pipefail {0}
|
|
jobs:
|
|
gen-release-notes:
|
|
if: github.repository_owner == 'bentoml'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
id-token: write
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4.1.7
|
|
with:
|
|
fetch-depth: 0
|
|
ref: '${{ inputs.tags }}'
|
|
- uses: bentoml/setup-bentoml-action@862aa8fa0e0c3793fcca4bfe7a62717a497417e4 # ratchet:bentoml/setup-bentoml-action@v1
|
|
with:
|
|
bentoml-version: 'main'
|
|
python-version-file: .python-version-default
|
|
- name: Create release notes
|
|
run: ./.github/actions/create_release_and_archive.sh ${{ inputs.tags }}
|
|
- name: Download Python artifacts
|
|
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # ratchet:actions/download-artifact@v4
|
|
with:
|
|
pattern: python-artefacts-*
|
|
merge-multiple: true
|
|
path: dist
|
|
- name: Download binaries
|
|
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # ratchet:actions/download-artifact@v4
|
|
with:
|
|
pattern: standalone-*
|
|
merge-multiple: true
|
|
path: archives
|
|
- name: Download standalone MacOS
|
|
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # ratchet:actions/download-artifact@v4
|
|
with:
|
|
pattern: staged-*
|
|
merge-multiple: true
|
|
path: archives
|
|
- name: Create release
|
|
uses: softprops/action-gh-release@a74c6b72af54cfa997e81df42d94703d6313a2d0 # ratchet:softprops/action-gh-release@v2.0.6
|
|
with:
|
|
# Use GH feature to populate the changelog automatically
|
|
generate_release_notes: true
|
|
body_path: release_notes.txt
|
|
fail_on_unmatched_files: true
|
|
tag_name: '${{ inputs.tags }}'
|
|
# TODO: add installers/* once windows support is back
|
|
files: |-
|
|
dist/*
|
|
archives/*
|