diff --git a/.github/workflows/publish_development.yml b/.github/workflows/publish-dev.yaml similarity index 69% rename from .github/workflows/publish_development.yml rename to .github/workflows/publish-dev.yaml index 58bece6..2a15290 100644 --- a/.github/workflows/publish_development.yml +++ b/.github/workflows/publish-dev.yaml @@ -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() diff --git a/.github/workflows/publish_stable.yml b/.github/workflows/publish-stable.yaml similarity index 65% rename from .github/workflows/publish_stable.yml rename to .github/workflows/publish-stable.yaml index cdaf5e1..731f3ef 100644 --- a/.github/workflows/publish_stable.yml +++ b/.github/workflows/publish-stable.yaml @@ -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()