Fix workflow entry and variable read
This commit is contained in:
parent
15d5c57441
commit
65fb0c3f24
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'v0.1'
|
||||
description: 'Version'
|
||||
required: true
|
||||
type: string
|
||||
|
||||
@ -36,7 +36,7 @@ jobs:
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
with:
|
||||
name: ConfusedPolarBear.Plugin.IntroSkipper-${{ github.event.head_commit.message }}.dll
|
||||
name: ConfusedPolarBear.Plugin.IntroSkipper-${{ github.event.inputs.version }}.dll
|
||||
path: ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net6.0/ConfusedPolarBear.Plugin.IntroSkipper.dll
|
||||
if-no-files-found: error
|
||||
|
||||
@ -45,18 +45,18 @@ jobs:
|
||||
with:
|
||||
files: |
|
||||
ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net6.0/ConfusedPolarBear.Plugin.IntroSkipper.dll
|
||||
dest: intro-skipper-${{ github.event.head_commit.message }}.zip
|
||||
dest: intro-skipper-${{ github.event.inputs.version }}.zip
|
||||
|
||||
- name: Generate md5
|
||||
run: md5sum intro-skipper-${{ github.event.head_commit.message }}.zip > intro-skipper-${{ github.event.head_commit.message }}.md5
|
||||
run: md5sum intro-skipper-${{ github.event.inputs.version }}.zip > intro-skipper-${{ github.event.inputs.version }}.md5
|
||||
|
||||
- name: Publish release
|
||||
uses: 8bitDream/action-github-releases@v1.0.0
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: ${{ github.event.head_commit.message }}
|
||||
automatic_release_tag: ${{ github.event.inputs.version }}
|
||||
prerelease: false
|
||||
title: intro-skipper-${{ github.event.head_commit.message }}
|
||||
title: intro-skipper-${{ github.event.inputs.version }}
|
||||
files: |
|
||||
intro-skipper-${{ github.event.head_commit.message }}.md5
|
||||
intro-skipper-${{ github.event.head_commit.message }}.zip
|
||||
intro-skipper-${{ github.event.inputs.version }}.md5
|
||||
intro-skipper-${{ github.event.inputs.version }}.zip
|
||||
|
Loading…
x
Reference in New Issue
Block a user