Attach an md5 file to each release
This commit is contained in:
parent
fbb80159de
commit
e4c5efb2f3
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -51,6 +51,9 @@ jobs:
|
||||
ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net6.0/ConfusedPolarBear.Plugin.IntroSkipper.dll
|
||||
dest: intro-skipper-${{ env.GIT_HASH }}.zip
|
||||
|
||||
- name: Generate md5
|
||||
run: md5sum intro-skipper-${{ env.GIT_HASH }}.zip > intro-skipper-${{ env.GIT_HASH }}.md5
|
||||
|
||||
- name: Publish prerelease
|
||||
uses: 8bitDream/action-github-releases@v1.0.0
|
||||
if: github.event_name != 'pull_request'
|
||||
@ -60,4 +63,5 @@ jobs:
|
||||
prerelease: true
|
||||
title: intro-skipper-${{ env.GIT_HASH }}
|
||||
files: |
|
||||
intro-skipper-${{ env.GIT_HASH }}.md5
|
||||
intro-skipper-${{ env.GIT_HASH }}.zip
|
||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -47,6 +47,9 @@ jobs:
|
||||
ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net6.0/ConfusedPolarBear.Plugin.IntroSkipper.dll
|
||||
dest: intro-skipper-${{ github.event.head_commit.message }}.zip
|
||||
|
||||
- name: Generate md5
|
||||
run: md5sum intro-skipper-${{ github.event.head_commit.message }}.zip > intro-skipper-${{ github.event.head_commit.message }}.md5
|
||||
|
||||
- name: Publish release
|
||||
uses: 8bitDream/action-github-releases@v1.0.0
|
||||
with:
|
||||
@ -55,4 +58,5 @@ jobs:
|
||||
prerelease: false
|
||||
title: intro-skipper-${{ github.event.head_commit.message }}
|
||||
files: |
|
||||
intro-skipper-${{ github.event.head_commit.message }}.md5
|
||||
intro-skipper-${{ github.event.head_commit.message }}.zip
|
||||
|
Loading…
x
Reference in New Issue
Block a user