Move release message creation before build task
This commit is contained in:
@@ -34,13 +34,6 @@ jobs:
|
|||||||
TAG=${{ github.event.release.tag_name }}
|
TAG=${{ github.event.release.tag_name }}
|
||||||
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
|
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build Jellyfin Plugin
|
|
||||||
uses: oddstr13/jellyfin-plugin-repository-manager@843260fcdfda7cba229c5abd77bdd9c6fc4e850b # v1.1.0
|
|
||||||
id: jprm
|
|
||||||
with:
|
|
||||||
dotnet-target: net6.0
|
|
||||||
version: ${VERSION}
|
|
||||||
|
|
||||||
- name: Generate release message
|
- name: Generate release message
|
||||||
run: |
|
run: |
|
||||||
# Read the YAML file and extract the value of the 'changelog' field
|
# Read the YAML file and extract the value of the 'changelog' field
|
||||||
@@ -54,6 +47,13 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
echo "RELEASE_MESSAGE=$(echo Changelog:; echo $changelog)" >> GITHUB_ENV
|
echo "RELEASE_MESSAGE=$(echo Changelog:; echo $changelog)" >> GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Build Jellyfin Plugin
|
||||||
|
uses: oddstr13/jellyfin-plugin-repository-manager@843260fcdfda7cba229c5abd77bdd9c6fc4e850b # v1.1.0
|
||||||
|
id: jprm
|
||||||
|
with:
|
||||||
|
dotnet-target: net6.0
|
||||||
|
version: ${VERSION}
|
||||||
|
|
||||||
- name: Upload Release
|
- name: Upload Release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
id: upload
|
id: upload
|
||||||
|
|||||||
Reference in New Issue
Block a user