Skip to content

Commit

Permalink
Add GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
eTzmNcbkrng committed Jan 31, 2023
1 parent 5732438 commit e8200d3
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/BigWigsPackager.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

name: Package and release

on:
workflow_run:
workflows: [Fully-Semi-Automaticated]
types: [completed]

jobs:
release:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
env:
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Clone project
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Package and release
uses: BigWigsMods/packager@master
31 changes: 31 additions & 0 deletions .github/workflows/TagAndRelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

name: Fully-Semi-Automaticated

on:
push:
branches:
- master

jobs:
release:
runs-on: ubuntu-latest
env:
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Clone project
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
create_annotated_tag: true

- name: Release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
2 changes: 1 addition & 1 deletion WardrobeTools/WardrobeTools.toc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Notes: A simple addon to streamline transmog/appearance collection.
## SavedVariables: WardrobeToolsADB
## SavedVariablesPerCharacter: WardrobeToolsCDB
## Version: 1.0.2
## Version: @project-version@

## OptionalDeps: sUI
## X-SezzADB: WardrobeToolsADB
Expand Down

0 comments on commit e8200d3

Please sign in to comment.