File tree Expand file tree Collapse file tree 4 files changed +93
-1
lines changed
Expand file tree Collapse file tree 4 files changed +93
-1
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Replace toc-versions
18+ uses : NumyAddon/ToCVersions@v1
19+
20+ - name : Create Retail Package
21+ uses : BigWigsMods/packager@v2
22+ with :
23+ args : -S
24+ env :
25+ CF_API_KEY : ${{ secrets.CF_API_KEY }}
26+ GITHUB_OAUTH : ${{ secrets.GITHUB_TOKEN }}
27+ WAGO_API_TOKEN : ${{ secrets.WAGO_API_TOKEN }}
28+
29+ - name : Prepare for Discord webhook
30+ id : discord-webhook-prep
31+ run : |
32+ echo "ZIP_NAME=$(ls .release/*.zip)" >> $GITHUB_OUTPUT
33+ {
34+ echo 'CHANGELOG<<EOF'
35+ cat .release/*/CHANGELOG.md
36+ printf '\nEOF'
37+ } >> "$GITHUB_OUTPUT"
38+
39+ - name : Notify Discord webhook
40+ uses :
" tsickert/[email protected] " 41+ with :
42+ webhook-url : " ${{secrets.DISCORD_WEBHOOK_URL}}"
43+ content : " [${{ github.repository }}](https://github.com/${{ github.repository }}) New version released: [${{ github.event.release.tag_name }}](https://github.com/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }})"
44+ username : " NumyAddon"
45+ avatar-url : " https://avatars.githubusercontent.com/u/97855854?s=200&v=4"
46+ filename : ${{ steps.discord-webhook-prep.outputs.ZIP_NAME }}
47+ embed-title : " ${{ github.repository }} ${{ github.event.release.tag_name }}"
48+ embed-url : " https://github.com/${{ github.repository }}"
49+ embed-description : " ${{ steps.discord-webhook-prep.outputs.CHANGELOG }}"
50+ embed-author-name : " ${{ github.event.release.author.login }}"
51+ embed-author-url : " ${{ github.event.release.author.html_url }}"
52+ embed-author-icon-url : " ${{ github.event.release.author.avatar_url }}"
Original file line number Diff line number Diff line change 1+ name : TOC Bump
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ message :
6+ description : ' Commit message'
7+ required : false
8+ default : ' TOC Bump'
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v3
16+
17+ - name : Get next version
18+ 19+ id : version
20+ with :
21+ scheme : semver
22+ increment : patch
23+
24+ - name : Create & push empty commit
25+ run : |
26+ git config --global user.email "${{ github.actor }}@users.noreply.github.com"
27+ git config --global user.name "${{ github.actor }}"
28+ git commit --allow-empty -m "${{ github.event.inputs.message }}"
29+ git push
30+
31+ - name : Publish release
32+ uses : softprops/action-gh-release@v1
33+ with :
34+ # this cannot be ${{ secrets.GITHUB_TOKEN }} because that'll block the on release publish workflow from running
35+ token : ${{ secrets.PERSONAL_GITHUB_TOKEN }}
36+ name : ${{ steps.version.outputs.v-version }}
37+ tag_name : ${{ steps.version.outputs.v-version }}
Original file line number Diff line number Diff line change 22## Title : Numy's Auto Marker
33## Notes : Making automated marking easier! /nam
44## Author : Numy
5- ## Version : @project-version@
65## SavedVariables : NAMDB
6+ ## IconTexture : Interface\Addons\NumysAutoMarker\media\icon
7+ ## Version : @project-version@
8+ ## X-Curse-Project-ID : 1156415
9+ ## X-Wago-ID : aN0YpM6j
710
811libs\embeds.xml
912
You can’t perform that action at this time.
0 commit comments