Skip to content

Extract interface files from CDN #662

Extract interface files from CDN

Extract interface files from CDN #662

Workflow file for this run

name: Extract interface files from CDN
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Remove old files
run: |
shopt -s extglob
rm -r !(*.git*|*.sublime-*|*.md)
- name: Install Lua
uses: leafo/[email protected]
with:
luaVersion: "5.2"
- name: Checkout InterfaceExport
uses: actions/checkout@v3
with:
repository: Gethe/InterfaceExport
path: InterfaceExport
- name: Run Export
env:
LUA_PATH: "./InterfaceExport/libs/?.lua;./InterfaceExport/libs/?/init.lua"
run: |
lua InterfaceExport/export.lua ptr code
- name: Get build version
id: version
uses: andstor/file-reader-action@v1
with:
path: "version.txt"
- name: Add & Commit
uses: EndBug/add-and-commit@latest
with:
message: ${{ steps.version.outputs.contents }}
default_author: github_actions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}