-
Notifications
You must be signed in to change notification settings - Fork 35
36 lines (30 loc) · 914 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
36
name: Automated Release
on:
push:
tags:
- "v[0-9]+"
jobs:
build:
name: Release Addon
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Build release artifacts and upload them to CF, WoWI and GitHub
- name: Build release
id: release
run: |
python scripts/release.py ${GITHUB_REF:10} \
--curse-token ${{ secrets.CURSEFORGE_API_TOKEN }} \
--wago-token ${{ secrets.WAGO_API_TOKEN }} \
--wowi-token ${{ secrets.WOWINTERFACE_API_TOKEN }} \
--github-token ${{ secrets.GITHUB_TOKEN }}