-
Notifications
You must be signed in to change notification settings - Fork 139
30 lines (29 loc) · 813 Bytes
/
release.yml
File metadata and controls
30 lines (29 loc) · 813 Bytes
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
name: Tagged Release
on:
push:
tags:
- "v*"
jobs:
create-tagged-release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Get tag
run: echo ::set-output name=VERSION_TAG::${GITHUB_REF/refs\/tags\//}
id: get_tag
- name: 'Setup Node.js'
uses: 'actions/setup-node@v1'
with:
node-version: 20.x
- name: Create release
uses: marvinpinto/action-automatic-releases@latest
with:
title: React/Lua Boilerplate - ${{ steps.get_tag.outputs.VERSION_TAG }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: false
id: auto_release