-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (45 loc) · 1.11 KB
/
release.yml
File metadata and controls
51 lines (45 loc) · 1.11 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
name: Release
on:
workflow_dispatch:
inputs:
tag:
description: Release tag to create or update
required: true
libnode_url:
description: Download URL for libnode.zip
required: false
type: string
prerelease:
description: Mark the release as a prerelease
required: true
default: "false"
type: choice
options:
- "false"
- "true"
permissions:
contents: write
actions: read
jobs:
build:
uses: ./.github/workflows/build.yml
with:
libnode_url: ${{ inputs.libnode_url }}
secrets: inherit
publish:
name: Publish GitHub release
runs-on: ubuntu-latest
needs: build
steps:
- name: Download packaged plugin
uses: actions/download-artifact@v4
with:
name: gode-plugin
path: dist
- name: Publish GitHub release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ inputs.tag }}
name: ${{ inputs.tag }}
prerelease: ${{ inputs.prerelease == 'true' }}
files: dist/gode.zip