mirror of https://github.com/hpcaitech/ColossalAI
[workflow] fixed release post workflow (#1154)
parent
54aabb8da4
commit
d415d73286
|
@ -28,11 +28,13 @@ jobs:
|
||||||
python ./.github/workflows/scripts/generate_release_draft.py --out $PWD/release_draft.md --version $version
|
python ./.github/workflows/scripts/generate_release_draft.py --out $PWD/release_draft.md --version $version
|
||||||
echo "::set-output name=version::$version"
|
echo "::set-output name=version::$version"
|
||||||
echo "::set-output name=path::$PWD/release_draft.md"
|
echo "::set-output name=path::$PWD/release_draft.md"
|
||||||
|
env:
|
||||||
|
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.generate_draft.outputs.version }}
|
tag_name: ${{ steps.generate_draft.outputs.version }}
|
||||||
release_name: Version ${{ steps.generate_draft.outputs.version }} Release Today!
|
release_name: Version ${{ steps.generate_draft.outputs.version }} Release Today!
|
||||||
|
|
Loading…
Reference in New Issue