Skip to content

Commit

Permalink
update for release
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwei1237 committed Oct 23, 2023
1 parent 1ff7c7a commit d31e221
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,20 @@ jobs:
get-upload-url:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: johnyherangi/create-release-notes@main
id: create-release-notes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: sudo bash ./getuploadurl.sh ${{ github.event.inputs.version }} ${{ secrets.GITHUB_TOKEN }} | xargs -I {} echo "upload-url={}" >> $GITHUB_OUTPUT
id: upload-url
- uses: actions/create-release@v1
id: create-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.inputs.version }}
release_name: Build for ${{ github.event.inputs.version }}
body: ${{ steps.create-release-notes.outputs.release-notes }}
outputs:
upload-url: ${{ steps.upload-url.outputs.upload-url }}
upload-url: ${{ steps.create-release.outputs.upload_url }}

build:
needs: get-upload-url
Expand Down Expand Up @@ -54,6 +59,11 @@ jobs:
asset_path: LLM_in_Action.tar.gz
asset_name: LLM_in_Action.tar.gz
asset_content_type: application/octet-stream
trigger:
needs: build
name: Trigger the wangwei1237.github.io_src deploy
runs-on: ubuntu-latest
steps:
- name: trigger the wangwei1237.github.io_src deploy
run: |
curl -X POST \
Expand Down

0 comments on commit d31e221

Please sign in to comment.