mirror of
https://github.com/cxfksword/jellyfin-plugin-danmu.git
synced 2026-05-02 14:32:20 +08:00
ci: update github action
This commit is contained in:
5
.github/workflows/publish.yaml
vendored
5
.github/workflows/publish.yaml
vendored
@@ -43,7 +43,9 @@ jobs:
|
||||
run: |
|
||||
VERSION=$(echo "${GITHUB_REF#refs/*/}" | sed s/^v//)
|
||||
VERSION="$VERSION.0"
|
||||
CHANGE_LOG=$(git tag -l '--format=%(contents)' ${{ github.ref_name }})
|
||||
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
|
||||
echo "CHANGE_LOG=${CHANGE_LOG}" >> $GITHUB_OUTPUT
|
||||
echo "APP_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_OUTPUT
|
||||
- name: Build
|
||||
run: |
|
||||
@@ -64,6 +66,9 @@ jobs:
|
||||
release_name: '${{ github.ref_name }}'
|
||||
overwrite: true
|
||||
file_glob: true
|
||||
body: |
|
||||
${{steps.vars.outputs.CHANGE_LOG}}
|
||||

|
||||
- name: Publish manifest
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user