From 99f8896a5c163f3a63c961b37bda8a3da502a98f Mon Sep 17 00:00:00 2001 From: Alar of Runetotem Date: Thu, 16 May 2024 09:10:33 +0200 Subject: [PATCH] Added action --- .../workflows/{wowuiupdate.yml => main.yml} | 18 +++++++----------- .gitignore | 1 + OrderHallCommander.toc | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) rename .github/workflows/{wowuiupdate.yml => main.yml} (74%) diff --git a/.github/workflows/wowuiupdate.yml b/.github/workflows/main.yml similarity index 74% rename from .github/workflows/wowuiupdate.yml rename to .github/workflows/main.yml index 0c037fd..1914ad6 100644 --- a/.github/workflows/wowuiupdate.yml +++ b/.github/workflows/main.yml @@ -23,6 +23,7 @@ jobs: env: CF_API_KEY: ${{ secrets.CF_API_KEY }} WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} + WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} # "GITHUB_TOKEN" is a secret always provided to the workflow # for your own token, the name cannot start with "GITHUB_" @@ -31,15 +32,10 @@ jobs: # we first have to clone the AddOn project, this is a required step - name: Clone project - uses: actions/checkout@v1 + uses: actions/checkout@v3 with: - # you can specify how much of the commit history you want to fetch, - # which is useful for controlling the length of the automated changelog - fetch-depth: 1 - - # another example where we supply additional arguments, this example is specifically to release - # for the Classic version of the game - - name: Upload to WOWUI - uses: BigWigsMods/packager@master - with: - args: -L + fetch-depth: 0 # gets entire git history, needed for automatic changelogs + + # once cloned, we just run the GitHub Action for the packager project + - name: Package and release + uses: BigWigsMods/packager@v2 diff --git a/.gitignore b/.gitignore index b1daf0f..c2cacce 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ *.saved /proofofconcept.lua .* +!.github/ /_build/ diff --git a/OrderHallCommander.toc b/OrderHallCommander.toc index b7e43dc..09a898a 100644 --- a/OrderHallCommander.toc +++ b/OrderHallCommander.toc @@ -1,4 +1,4 @@ -## Interface: 110000 +## Interface: 100207 ## Title: OrderHallCommander ## Notes: Sending all follower to missions with just one click and more ## Notes-itIT: Invia tutti i seguaci in missione con un click e molto altro