Build and optionally publish your WoW addon package with wap.
jobs:
build-and-release:
name: Check
runs-on: 'ubuntu-latest'
steps:
# do other steps, and then...
- name: 'wap'
uses: 't-mart/wap-action@master'
with:
- release-type: 'release'
- curseforge-token: '${{ secrets.CURSEFORGE_TOKEN }}'
-
release-type
Type: any of
none
,alpha
,beta
, orrelease
Default:
alpha
If set to
alpha
,beta
, orrelease
, runwap publish
after building.If set to
none
, do not publish.- name: wap uses: t-mart/wap-action@v1 with: - release-type: 'none'
-
curseforge-token
type: string
Default:
token-not-set
The token to use for publishing. This input is unused if
release-type == 'none'
. -
config-path
type: string
Default:
./wap.json
The path of the configuration file used to run the wap commands.
- name: wap uses: t-mart/wap-action@v1 with: - config-path: './custom-wap.json'
This is a composite action that:
- sets up the latest 3.12.x Python
- pipx installs wap (with that new Python)
wap build
...- optionally,
wap publish