ci: create discussion automatically after a new release

This commit is contained in:
Aliberk Sandıkçı 2025-01-22 18:45:51 +03:00
parent c40dd40861
commit aaf1b09523

View file

@ -176,7 +176,7 @@ jobs:
cd "${{ github.workspace }}/output/" cd "${{ github.workspace }}/output/"
version=$(cat version.num) version=$(cat version.num)
echo $version echo $version
gh release create "v${version}" --title "${{ inputs.title }}" --notes-file "./changelog.md" --prerelease="true" --repo MaintainTeam/LastPipeBender gh release create "v${version}" --title "${{ inputs.title }}" --notes-file "./changelog.md" --prerelease="true" --discussion-category "Announcements" --repo MaintainTeam/LastPipeBender
gh release upload "v${version}" $(echo $(find . -name '*.apk' -type f -exec basename \{} \;) checksums.txt) --repo MaintainTeam/LastPipeBender gh release upload "v${version}" $(echo $(find . -name '*.apk' -type f -exec basename \{} \;) checksums.txt) --repo MaintainTeam/LastPipeBender
- name: Archive reports for job - name: Archive reports for job
@ -184,4 +184,4 @@ jobs:
with: with:
name: reports name: reports
path: '*/build/reports' path: '*/build/reports'
if: ${{ always() }} if: ${{ always() }}