workflows
This commit is contained in:
parent
795e3620b6
commit
9ab75101a0
2 changed files with 33 additions and 32 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -307,7 +307,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: close-fixed-in-dev
|
||||
- name: Сlose fixed in dev
|
||||
uses: juraj-hrivnak/close-issues-based-on-label@master
|
||||
env:
|
||||
LABEL: "2. Status: Fixed in Dev"
|
||||
|
|
|
|||
63
.github/workflows/test.yml
vendored
63
.github/workflows/test.yml
vendored
|
|
@ -3,8 +3,9 @@ run-name: "Release #${{ github.run_number }}"
|
|||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "test"
|
||||
# push:
|
||||
# tags:
|
||||
# - "test"
|
||||
|
||||
|
||||
concurrency:
|
||||
|
|
@ -20,36 +21,36 @@ env:
|
|||
PROJECT_VERSION: "0.5.0"
|
||||
|
||||
jobs:
|
||||
discord-message:
|
||||
name: Discord Message
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
# discord-message:
|
||||
# name: Discord Message
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: Changelog Parser
|
||||
id: changelog
|
||||
uses: coditory/changelog-parser@v1.0.2
|
||||
with:
|
||||
path: CHANGELOG.md
|
||||
# - name: Changelog Parser
|
||||
# id: changelog
|
||||
# uses: coditory/changelog-parser@v1.0.2
|
||||
# with:
|
||||
# path: CHANGELOG.md
|
||||
|
||||
- name: Send Discord message
|
||||
uses: tsickert/discord-webhook@v5.4.0
|
||||
with:
|
||||
webhook-url: ${{secrets.RELEASES_1_20}}
|
||||
username: "TerraFirmaGreg"
|
||||
avatar-url: "https://raw.githubusercontent.com/TerraFirmaGreg-Team/.github/main/branding/curseforge.png"
|
||||
embed-title: Release ${{ env.PROJECT_VERSION }}
|
||||
embed-url: https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/releases/tag/${{ env.PROJECT_VERSION }}
|
||||
embed-thumbnail-url: https://raw.githubusercontent.com/TerraFirmaGreg-Team/.github/main/branding/logo_new_year.png
|
||||
embed-description: |
|
||||
**Release Type**: `${{ env.RELEASE_TYPE }}`
|
||||
**GameVersion**: `${{ env.MC_VERSION }}`
|
||||
**Website Link**: [CurseForge](https://www.curseforge.com/minecraft/modpacks/terrafirmagreg/files/${{ env.CF_RELEASE_ID }})
|
||||
# - name: Send Discord message
|
||||
# uses: tsickert/discord-webhook@v5.4.0
|
||||
# with:
|
||||
# webhook-url: ${{secrets.RELEASES_1_20}}
|
||||
# username: "TerraFirmaGreg"
|
||||
# avatar-url: "https://raw.githubusercontent.com/TerraFirmaGreg-Team/.github/main/branding/curseforge.png"
|
||||
# embed-title: Release ${{ env.PROJECT_VERSION }}
|
||||
# embed-url: https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/releases/tag/${{ env.PROJECT_VERSION }}
|
||||
# embed-thumbnail-url: https://raw.githubusercontent.com/TerraFirmaGreg-Team/.github/main/branding/logo_new_year.png
|
||||
# embed-description: |
|
||||
# **Release Type**: `${{ env.RELEASE_TYPE }}`
|
||||
# **GameVersion**: `${{ env.MC_VERSION }}`
|
||||
# **Website Link**: [CurseForge](https://www.curseforge.com/minecraft/modpacks/terrafirmagreg/files/${{ env.CF_RELEASE_ID }})
|
||||
|
||||
**Changelog**
|
||||
```${{ steps.changelog.outputs.description }}```
|
||||
embed-color: 5814783
|
||||
# **Changelog**
|
||||
# ```${{ steps.changelog.outputs.description }}```
|
||||
# embed-color: 5814783
|
||||
|
||||
close-fixed-issues:
|
||||
name: Close Fixed Issues
|
||||
|
|
@ -58,8 +59,8 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: close-fixed-in-dev
|
||||
uses: juraj-hrivnak/close-issues-based-on-label@master
|
||||
- name: Сlose fixed in dev
|
||||
uses: bdougie/close-issues-based-on-label@v1.2
|
||||
env:
|
||||
LABEL: "2. Status: Fixed in Dev"
|
||||
VERSION: ${{ env.PROJECT_VERSION }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue