Skip to content

Commit

Permalink
THE HUGE UPDATE - with loads of new features:
Browse files Browse the repository at this point in the history
- Localization (feel free to contribute on Curseforge!)
- Mergeable Categories
- Custom Colors
- A Prefix you can customize
- A better UI (Categories, Dividers and alphabetically order)
  • Loading branch information
Zottelchen committed Jan 22, 2023
1 parent 5c96240 commit dd8d0d1
Show file tree
Hide file tree
Showing 39 changed files with 1,552 additions and 1,572 deletions.
63 changes: 0 additions & 63 deletions .github/workflows/build-cache.yaml

This file was deleted.

74 changes: 0 additions & 74 deletions .github/workflows/luacheck.yaml

This file was deleted.

56 changes: 34 additions & 22 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ jobs:
steps:

# we first have to clone the AddOn project, this is a required step
- name: Clone project
- name: 👱👱Clone project
uses: actions/checkout@v3
with:
fetch-depth: 0 # gets entire git history, needed for automatic changelogs
path: ./variant

- name: Get Zottelchen/adibags-creator-action
- name: 🎭Get Zottelchen/adibags-creator-action
uses: actions/checkout@v3
with:
repository: Zottelchen/adibags-creator-action
ref: refs/heads/main
ref: refs/heads/v2
persist-credentials: false
path: ./action
- name: Merge
- name: 🏹Merge
run: |
cp -r ./variant/* ./action
mkdir ./dist
Expand All @@ -52,35 +52,47 @@ jobs:
cp -r ./variant/.git .
rm -rf ./action ./variant
ls -la .
- name: Cache Items DB
id: cache-db
uses: actions/cache@v3
with:
path: itemname.cache.sqlite
key: items-db
- name: Build AdiBags Extension
- name: 📷Build AdiBags Extension
uses: ./
env:
PYTHONUNBUFFERED: 1
BLIZZ_ID: ${{ secrets.BLIZZ_ID }}
BLIZZ_SECRET: ${{ secrets.BLIZZ_SECRET }}
ADDON_VARIANT: "Dragonflight"
ADDON_COLOR: "A00000"
TOC_VERSION: "100002"
CURSE_ID: "662103"
WOW_INTERFACE_ID: "26470"
WAGO_ID: "kRNLXYNo"
- name: Copy Output
BLIZZARD_API_ID: ${{ secrets.BLIZZ_ID }}
BLIZZARD_API_SECRET: ${{ secrets.BLIZZ_SECRET }}
- name: 😎Stylua
uses: JohnnyMorganz/stylua-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest # NOTE: we recommend pinning to a specific version in case of formatting changes
# CLI arguments
args: --verify --indent-type spaces --indent-width 2 --line-endings Windows --quote-style AutoPreferDouble out/AdiBags_Dragonflight.lua out/Localization.lua
- name: ✅Luacheck Main Addon
uses: lunarmodules/luacheck@v0
with:
args: out/AdiBags_Dragonflight.lua --ignore 113 211 212 611 614 631
# ignored (see https://luacheck.readthedocs.io/en/stable/warnings.html):
# 113: Accessing an undefined global variable. - There are bound to be some as this an addon, as there are some functions which are known to WoW only.
# 211: Unused local variable. - Not important.
# 212: Unused argument. - Not important.
# 611: A line consists of nothing but whitespace. - Oh no! Oh wait, not important.
# 614: Trailing whitespace in a comment. - These reports are just plain wrong.
# 631: Line is too long. - Not important.
- name: ☑️Luacheck Localization
uses: lunarmodules/luacheck@v0
with:
args: out/Localization.lua --ignore 113 211 212 542 611 614 631
# additionally ignored:
# 542: empty if branch - This is expected, since Bigwigs will replace the empty branch AFTER this check runs.

- name: 📝Copy Output
run: |
cp -r ./out/* ./dist
cp -r ./out/.git ./dist
ls -la ./dist
cd ./dist
git add *
# once cloned, we just run the GitHub Action for the packager project
- name: Package and release
- name: 📦Package and release
uses: BigWigsMods/packager@v2
with:
args: -t dist
19 changes: 0 additions & 19 deletions .github/workflows/refresh-cache.yaml

This file was deleted.

10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,12 @@
- Food (Version 1.1.9+)
- Potions [includes Elixirs & Flasks] (Version 1.1.9+)

If anything is missing, misplaced, or you want a new category, then please write a comment or [open an issue](https://github.com/Zottelchen/adibags-dragonflight/issues).
**NEW IN VERSION 2.0 - THE HUGE UPDATE:**

- Localization (feel free to contribute on Curseforge!)
- Mergeable Categories
- Custom Colors
- A Prefix you can customize
- A better UI (Categories, Dividers and alphabetical order)

If anything is missing, misplaced, or you want a new category, then please write a comment or [open an issue](https://github.com/Zottelchen/adibags-dragonflight/issues).
6 changes: 0 additions & 6 deletions items/#Alchemy.txt

This file was deleted.

27 changes: 0 additions & 27 deletions items/#Cloth.txt

This file was deleted.

49 changes: 0 additions & 49 deletions items/#Cooking.txt

This file was deleted.

10 changes: 0 additions & 10 deletions items/#Elemental Trade Goods - Awakened.txt

This file was deleted.

10 changes: 0 additions & 10 deletions items/#Elemental Trade Goods - Rousing.txt

This file was deleted.

8 changes: 0 additions & 8 deletions items/#Enchanting.txt

This file was deleted.

Loading

0 comments on commit dd8d0d1

Please sign in to comment.