-
-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (29 loc) · 1.04 KB
/
create_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
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
name: Create Release
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
filename: 'Theme_SirMotte_Hearth.ext'
exclusions: '*.git* *.github* /*node_modules/* /*.colors/* /*.vscode/* /*build-windows/* .editorconfig body.md todo.txt *.ext .german_translation.txt .themecolors.txt'
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "Theme_SirMotte_Hearth.ext"
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true