generated from hasundue/template-deno
-
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 876 Bytes
/
release.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
name: Release
on:
workflow_call:
workflow_dispatch:
jobs:
release:
name: Release
if: ${{ github.repository_owner == 'hasundue' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.27.1 # @denopendabot denoland/deno
- name: Run denomantic-release
id: run
run: >
deno run -q --allow-env --allow-net --allow-write ./cli.ts
${{ github.repository }}
--token ${{ secrets.GITHUB_TOKEN }}
- name: Run Denopendabot to update version numbers
if: ${{ steps.run.outputs.needs_update }}
uses: hasundue/denopendabot@0.12.0 # @denopendabot hasundue/denopendabot
with:
mode: app
release: ${{ steps.run.outputs.version }}