mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Switch actions/create-release to softprops/action-gh-release
* actions/create-release deprecated
This commit is contained in:
parent
f1c12c0bbe
commit
ae17d2dde0
1 changed files with 5 additions and 25 deletions
30
.github/workflows/publish-installers.yml
vendored
30
.github/workflows/publish-installers.yml
vendored
|
@ -125,41 +125,21 @@ jobs:
|
||||||
echo "$EOF" >> $GITHUB_OUTPUT
|
echo "$EOF" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: actions/create-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
id: create_release
|
id: create_release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GHACTIONS_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GHACTIONS_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.get_version.outputs.RELEASE_VERSION }}
|
tag_name: ${{ steps.get_version.outputs.RELEASE_VERSION }}
|
||||||
release_name: Tautulli ${{ steps.get_version.outputs.RELEASE_VERSION }}
|
name: Tautulli ${{ steps.get_version.outputs.RELEASE_VERSION }}
|
||||||
body: |
|
body: |
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
##${{ steps.get_changelog.outputs.CHANGELOG }}
|
##${{ steps.get_changelog.outputs.CHANGELOG }}
|
||||||
draft: false
|
|
||||||
prerelease: ${{ endsWith(steps.get_version.outputs.RELEASE_VERSION, '-beta') }}
|
prerelease: ${{ endsWith(steps.get_version.outputs.RELEASE_VERSION, '-beta') }}
|
||||||
|
files: |
|
||||||
- name: Upload Windows Installer
|
Tautulli-windows-installer/Tautulli-windows-${{ steps.get_version.outputs.RELEASE_VERSION }}-x64.exe
|
||||||
uses: actions/upload-release-asset@v1
|
Tautulli-macos-installer/Tautulli-macos-${{ steps.get_version.outputs.RELEASE_VERSION }}-x64.pkg
|
||||||
if: env.WORKFLOW_CONCLUSION == 'success'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GHACTIONS_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: Tautulli-windows-installer/Tautulli-windows-${{ steps.get_version.outputs.RELEASE_VERSION }}-x64.exe
|
|
||||||
asset_name: Tautulli-windows-${{ steps.get_version.outputs.RELEASE_VERSION }}-x64.exe
|
|
||||||
asset_content_type: application/vnd.microsoft.portable-executable
|
|
||||||
|
|
||||||
- name: Upload MacOS Installer
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
if: env.WORKFLOW_CONCLUSION == 'success'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GHACTIONS_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: Tautulli-macos-installer/Tautulli-macos-${{ steps.get_version.outputs.RELEASE_VERSION }}-x64.pkg
|
|
||||||
asset_name: Tautulli-macos-${{ steps.get_version.outputs.RELEASE_VERSION }}-x64.pkg
|
|
||||||
asset_content_type: application/vnd.apple.installer+xml
|
|
||||||
|
|
||||||
discord:
|
discord:
|
||||||
name: Discord Notification
|
name: Discord Notification
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue