Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try release #5

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
try release
ravi-kumar-pilla committed Mar 9, 2024
commit 2e919bad84089c7a20f2d3615c70c81daafae104
33 changes: 18 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Release

permissions:
contents: write

on:
pull_request:
branches:
@@ -39,9 +42,9 @@ jobs:
if: ${{ needs.check-version.outputs.new_release == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Extract release notes from ${{needs.check-version.outputs.action_name}}/RELEASE.md
@@ -50,16 +53,16 @@ jobs:
python utils/extract_release_notes.py \
"RELEASE.md" \
"Release ${{needs.check-version.outputs.action_version}}"
# - name: Create GitHub Release
# uses: softprops/action-gh-release@v1
# with:
# tag_name: v${{needs.check-version.outputs.action_version}}
# name: v${{needs.check-version.outputs.action_version}}
# body_path: release_body.txt
# draft: false
# prerelease: false
# # token: ${{ secrets.GH_TAGGING_TOKEN }}
# files: |
# action.yml
# README.md
# LICENSE.md
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{needs.check-version.outputs.action_version}}
name: v${{needs.check-version.outputs.action_version}}
body_path: release_body.txt
draft: false
prerelease: false
# token: ${{ secrets.GH_TAGGING_TOKEN }}
files: |
action.yml
README.md
LICENSE.md