-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
20 deletions.
There are no files selected for viewing
17 changes: 7 additions & 10 deletions
17
.github/workflows/publish_development.yml → .github/workflows/publish-dev.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,34 @@ | ||
name: publish_development | ||
name: 🧪 Publish Test Version | ||
|
||
on: | ||
push: | ||
tags: | ||
- "**-alpha-**" | ||
- "**-beta-**" | ||
- '**alpha**' | ||
- '**beta**' | ||
|
||
jobs: | ||
build: | ||
name: 📦 Package | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Pull the latest version | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 50 | ||
|
||
- name: Auto Packaging | ||
uses: BigWigsMods/packager@master | ||
env: | ||
CF_API_KEY: ${{ secrets.CF_API_KEY }} | ||
CF_API_KEY: ${{ secrets.RELEASE_API_TOKEN_CURSEFORGE }} | ||
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | ||
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}] | ||
|
||
WAGO_API_TOKEN: ${{ secrets.RELEASE_API_TOKEN_WAGO }} | ||
- name: Upload to Github Actions | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: AdiBagsElvUISkin | ||
path: .release/*.zip | ||
|
||
- name: Send a message to Discord if meets a failure | ||
uses: nebularg/actions-discord-webhook@v1 | ||
with: | ||
webhook_url: ${{ secrets.WEBHOOK_URL }} | ||
webhook_url: ${{ secrets.DISCORD_WEBHOOK_GITHUB_ACTIONS }} | ||
status: ${{ job.status }} | ||
if: failure() |
18 changes: 8 additions & 10 deletions
18
.github/workflows/publish_stable.yml → .github/workflows/publish-stable.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,35 @@ | ||
name: publish_stable | ||
name: 🚀 Publish Stable Version | ||
|
||
on: | ||
push: | ||
tags-ignore: | ||
- "**-alpha-**" | ||
- "**-beta-**" | ||
- '**alpha**' | ||
- '**beta**' | ||
|
||
jobs: | ||
build: | ||
name: 📦 Package | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Pull the latest version | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 50 | ||
|
||
- name: Auto Packaging | ||
uses: BigWigsMods/packager@master | ||
env: | ||
CF_API_KEY: ${{ secrets.CF_API_KEY }} | ||
CF_API_KEY: ${{ secrets.RELEASE_API_TOKEN_CURSEFORGE }} | ||
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | ||
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | ||
|
||
WOWI_API_TOKEN: ${{ secrets.RELEASE_API_TOKEN_WOWI }} | ||
WAGO_API_TOKEN: ${{ secrets.RELEASE_API_TOKEN_WAGO }} | ||
- name: Upload to Github Actions | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: AdiBagsElvUISkin | ||
path: .release/*.zip | ||
|
||
- name: Send a message to Discord if meets a failure | ||
uses: nebularg/actions-discord-webhook@v1 | ||
with: | ||
webhook_url: ${{ secrets.WEBHOOK_URL }} | ||
webhook_url: ${{ secrets.DISCORD_WEBHOOK_GITHUB_ACTIONS }} | ||
status: ${{ job.status }} | ||
if: failure() |