This repository has been archived by the owner on Oct 19, 2023. It is now read-only.
Merge pull request #140 from jina-ai/fix-workspace #62
Workflow file for this run
This file contains 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
name: Release CD | |
on: | |
push: | |
tags: | |
- "v*" # push to version tags trigger the build | |
#on: | |
# push: | |
# branches-ignore: | |
# - '**' # temporally disable this action | |
jobs: | |
create-release: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
ref: 'main' | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- run: | | |
python scripts/get-last-release-note.py | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: 💫 Patch ${{ github.ref }} | |
body_path: 'tmp.md' | |
draft: false | |
prerelease: false |