Skip to content

Commit

Permalink
Updates to Actions and Packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
Starlynk1 committed Jan 19, 2024
1 parent bccc685 commit ce2ab42
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 136 deletions.
102 changes: 0 additions & 102 deletions .github/workflows/package_release.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# description of this workflow, can be anything you want
name: Package and release

# we need to let GitHub know _when_ we want to release, typically only when we create a new tag.
# this will target only tags, and not all pushes to the master branch.
# this part can be heavily customized to your liking, like targeting only tags that match a certain word,
# other branches or even pullrequests.
on:
push:
tags:
- '**'

# a workflow is built up as jobs, and within these jobs are steps
jobs:

# "release" is a job, you can name it anything you want
release:

# we can run our steps on pretty much anything, but the "ubuntu-latest" image is a safe bet
runs-on: ubuntu-latest

# specify the environment variables used by the packager, matching the secrets from the project on GitHub
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_"

# "steps" holds a list of all the steps needed to package and release our AddOn
steps:

# we first have to clone the AddOn project, this is a required step
- name: Clone project
uses: actions/checkout@v3
with:
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
5 changes: 5 additions & 0 deletions .pkgmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
optional-dependencies:
- Ace3

ignore:
- .github
6 changes: 6 additions & 0 deletions IncognitoResurrected.toc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
## SavedVariables: IncognitoResurrectedDB
## OptionalDeps: Ace3

## X-Curse-Project-ID: 961634

## Interface: 102005
## Interface-Classic: 11500
## Interface-Wrath: 30403

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Expand Down
17 changes: 0 additions & 17 deletions IncognitoResurrected_Vanilla.toc

This file was deleted.

17 changes: 0 additions & 17 deletions IncognitoResurrected_Wrath.toc

This file was deleted.

0 comments on commit ce2ab42

Please sign in to comment.