-
Notifications
You must be signed in to change notification settings - Fork 7
64 lines (56 loc) · 1.64 KB
/
release.yml
File metadata and controls
64 lines (56 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: 'release'
on:
workflow_dispatch:
inputs:
prerelease:
description: 'Whether or not this is a pre-release'
required: true
default: false
type: boolean
title:
description: 'The title of the release'
required: false
type: string
release_name:
description: 'The name of the release, uses the tag if not specified'
required: false
type: string
workflow_call:
inputs:
prerelease:
description: 'Whether or not this is a pre-release'
required: true
default: false
type: boolean
title:
description: 'The title of the release'
required: false
type: string
release_name:
description: 'The name of the release, uses the tag if not specified'
required: false
type: string
jobs:
package:
name: 'Package'
uses: ./.github/workflows/package.yml
release:
name: 'Release'
runs-on: 'ubuntu-latest'
needs: 'package'
timeout-minutes: 5
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Download vsix artifact
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
with:
name: vsix
- name: 'Release'
uses: 'marvinpinto/action-automatic-releases@d68defdd11f9dcc7f52f35c1b7c236ee7513bcc1'
with:
repo_token: '${{ secrets.GITHUB_TOKEN }}'
automatic_release_tag: ${{ inputs.release_name }}
prerelease: ${{ inputs.prerelease }}
title: ${{ inputs.title }}
files: |
*.vsix