Skip to content

Commit 1e155c5

Browse files
committed
added description as field req to create release
1 parent 08c5df3 commit 1e155c5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build-deploy.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
description: 'Tag to deploy'
99
required: true
1010
default: 'v0.0.0'
11+
description:
12+
description: 'Description of the release'
13+
required: true
14+
default: 'Release v0.0.0'
1115
jobs:
1216
check:
1317
runs-on: ubuntu-latest
@@ -60,22 +64,22 @@ jobs:
6064
runs-on: ubuntu-latest
6165
steps:
6266
# Download the VSIX file from the artifact
63-
- uses: actions/download-artifact@v2
67+
- uses: actions/download-artifact@v3
6468
with:
6569
name: commit-extension-${{ github.event.inputs.tag }}
6670
path: ./
6771

6872
# Upload the VSIX file to the Github release
6973
- name: Create Release
7074
id: create_release
71-
uses: actions/create-release@latest
75+
uses: actions/create-release@v1
7276
env:
7377
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7478
with:
7579
tag_name: ${{ github.event.inputs.tag }}
7680
release_name: ${{ github.event.inputs.tag }}
7781
body: |
78-
Release ${{ github.event.inputs.tag }}
82+
Release ${{ github.event.inputs.description }}
7983
draft: false
8084
prerelease: false
8185
- name: Upload Release Asset

0 commit comments

Comments
 (0)