Skip to content

Commit a77b075

Browse files
committed
Update export workflow
1 parent 3673564 commit a77b075

File tree

6 files changed

+14
-97
lines changed

6 files changed

+14
-97
lines changed

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* text=auto
1+
* text=auto eol=lf

.github/workflows/export.yml

+8-58
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,18 @@
11
name: Extract interface files from CDN
22

33
on:
4+
schedule:
5+
- cron: '0 0/3 * * *'
6+
47
workflow_dispatch:
58

69
jobs:
710
build:
811
runs-on: ubuntu-latest
912

1013
steps:
11-
- name: Checkout
12-
uses: actions/checkout@v3
13-
14-
- name: Remove old files
15-
run: |
16-
shopt -s extglob
17-
rm -r !(*.git*|*.sublime-*|*.md)
18-
19-
- name: Install Packages
20-
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev
21-
22-
- name: Install Lua
23-
uses: leafo/[email protected]
24-
with:
25-
luaVersion: "5.1"
26-
27-
- name: Install Luarocks
28-
uses: leafo/gh-actions-luarocks@v4
29-
with:
30-
luarocksVersion: "3.11.0"
31-
32-
- name: Install lua-zlib
33-
run: luarocks install lua-zlib
34-
35-
- name: Install luacurl
36-
run: luarocks install luacurl CURL_INCDIR=/usr/include/$(gcc -dumpmachine)
37-
38-
- name: Install LuaFileSystem
39-
run: luarocks install LuaFileSystem
40-
41-
- name: Install md5
42-
run: luarocks install md5
43-
44-
- name: Checkout InterfaceExport
45-
uses: actions/checkout@v3
46-
with:
47-
repository: Gethe/InterfaceExport
48-
path: InterfaceExport
49-
50-
- name: Run Export
51-
env:
52-
LUA_PATH: "./InterfaceExport/libs/?.lua;./InterfaceExport/libs/?/init.lua"
53-
run: |
54-
lua InterfaceExport/export.lua code
55-
56-
- name: Get build version
57-
id: version
58-
uses: andstor/file-reader-action@v1
59-
with:
60-
path: "version.txt"
61-
62-
- name: Add & Commit
63-
uses: EndBug/add-and-commit@latest
64-
with:
65-
message: ${{ steps.version.outputs.contents }}
66-
default_author: github_actions
67-
env:
68-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14+
- name: Export UI source files
15+
uses: Gethe/wow-ui-source@automation
16+
with:
17+
product: wow
18+
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

-12
Original file line numberDiff line numberDiff line change
@@ -1,12 +0,0 @@
1-
*.pub
2-
*.sublime-workspace
3-
4-
# Script created directories
5-
.install
6-
.lua
7-
.luarocks
8-
InterfaceExport
9-
10-
# Script created files
11-
fails*.txt
12-
version.txt

.project

-11
This file was deleted.

README.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
This repo contains the latest WoW UI source code. Branches should reflect the most recent patches to their respective clients (live, ptr and beta).
1+
# WoW UI Source
22

3-
Diffs from Live:
4-
* [live -> ptr](https://github.com/Gethe/wow-ui-source/compare/live...ptr)
5-
* [live -> beta](https://github.com/Gethe/wow-ui-source/compare/live...beta)
6-
* [live -> classic](https://github.com/Gethe/wow-ui-source/compare/live...classic)
3+
This repo contains the latest WoW UI source code. Branches should reflect the most recent patches to their respective clients.
74

8-
Diffs to most recent Classic:
9-
* [classic_era -> classic](https://github.com/Gethe/wow-ui-source/compare/classic_era...classic)
5+
- [live -> ptr](https://github.com/Gethe/wow-ui-source/compare/live...ptr)
6+
- [live -> ptr2](https://github.com/Gethe/wow-ui-source/compare/live...ptr2)
7+
- [live -> beta](https://github.com/Gethe/wow-ui-source/compare/live...beta)

wow-ui-source.sublime-project

-8
This file was deleted.

0 commit comments

Comments
 (0)