generated from hasundue/template-deno
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
46 lines (37 loc) · 1.08 KB
/
action.yml
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
name: Denomantic Release
description: Semantic release for Deno project
inputs:
token:
description: GitHub access token authorized to run workflows
required: true
default: ${{ github.token }}
repository:
description: target repository
required: true
default: ${{ github.repository }}
options:
description: options passed through to the CLI
required: false
runs:
using: composite
steps:
- uses: denoland/setup-deno@v1
with:
deno-version: v1.27.1 # @denopendabot denoland/deno
- id: run
run: >
deno run -q --allow-env --allow-net --allow-write ./cli.ts
${{ inputs.repository }}
--token ${{ inputs.token }}
${{ inputs.options }}
shell: bash
outputs:
version:
description: version of the release to be created
value: ${{ steps.run.outputs.version }}
needs_update:
description: true if version numbers should be updated before release
value: ${{ steps.run.outputs.needs_update }}
released:
description: release_id if created
value: ${{ steps.run.outputs.released }}