forked from oUF-wow/oUF
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 877 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: Package and release
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v2
with:
# this fetches everything, we'll need it to generate changelogs
fetch-depth: 0
- name: Install Lua
run: |
# apt-get commands
echo '::group::apt update'
sudo apt-get -qq update
echo '::endgroup::'
echo '::group::apt install lua 5.1'
sudo apt-get install -qq lua5.1
echo '::endgroup::'
- name: Generate changelog
run: |
lua utils/changelog > CHANGELOG.md
- name: Package and release
uses: BigWigsMods/packager@cd13fb1
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}