Skip to content

Commit

Permalink
Remove failing code from release (#2279)
Browse files Browse the repository at this point in the history
🔧 (main.yml): remove redundant release description generation step
The step to generate a release description using the
Get-ReleaseDescription script and the OpenAI API key is removed. This
simplifies the workflow by eliminating unnecessary complexity and
potential points of failure. The focus is now on the essential steps
required for the release process.
  • Loading branch information
MrHinsh authored Aug 12, 2024
2 parents 268f5e9 + 41e8c53 commit 20b5933
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,7 @@ jobs:
run: |
if ($Env:nkdAgility_Ring -eq 'Release') {
echo "discussion_category_name=Anouncement" >> $env:GITHUB_OUTPUT
}
. .\build\include\Get-ReleaseDescription.ps1
$description = Get-ReleaseDescription -mode log -OPEN_AI_KEY ${{ secrets.OPENAI_API_KEY }}
echo "release_description=$description" >> $env:GITHUB_OUTPUT
}
- name: Release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit 20b5933

Please sign in to comment.