-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (29 loc) · 962 Bytes
/
create-ext.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
name: Build FG-Usable File
env:
EXTENSION: '.ext'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo Assets
uses: actions/checkout@v3
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Zip Assets Into .ext File
uses: thedoctor0/zip-release@master
with:
filename: ${{ github.event.repository.name }}${{ env.EXTENSION }}])
exclusions: '*.git* /*node_modules/* .editorconfig body.md *.psd *.xcf forge-thumbnail.png thumbnail.png *.toml'
- name: Add .ext File to Release
uses: ncipollo/release-action@v1
with:
artifacts: ${{ github.event.repository.name }}${{ env.EXTENSION }}])
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true