-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pyritie <[email protected]>
- Loading branch information
Showing
21 changed files
with
1,016 additions
and
94 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -9,9 +9,6 @@ concurrency: | |
group: ${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
pull-requests: none | ||
|
||
env: | ||
RELEASE_TYPE: "release" | ||
MINECRAFT_VERSION: "1.20.1" | ||
|
@@ -326,9 +323,59 @@ jobs: | |
path: .pakku/multimc-overrides/${{ needs.info.outputs.project_full_name }}-multimc.zip | ||
if-no-files-found: error | ||
|
||
release-github: | ||
name: 🚀 Release to GitHub | ||
needs: [info, build-modpack, build-server, build-multimc] | ||
runs-on: ubuntu-latest | ||
outputs: | ||
url: ${{ steps.release.outputs.url }} | ||
|
||
steps: | ||
- name: 📦 Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: 📦 Download artifact | ||
uses: actions/[email protected] | ||
with: | ||
merge-multiple: true | ||
|
||
- name: 🚫 Сlose fixed in dev | ||
uses: Xikaro/close-issues-based-on-label@master | ||
env: | ||
LABEL: "2. Status: In Dev" | ||
COMMENT: In ${{ needs.info.outputs.project_version }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Format diff | ||
id: format_diff | ||
if: ${{ needs.info.outputs.diff != '' }} | ||
uses: roamingowl/[email protected] | ||
with: | ||
template: | | ||
```markdown | ||
${{ needs.info.outputs.diff }} | ||
``` | ||
- name: 🚀 Create release | ||
id: release | ||
uses: softprops/[email protected] | ||
with: | ||
name: ${{ needs.info.outputs.project_version }} | ||
tag_name: ${{ needs.info.outputs.project_version }} | ||
body: | | ||
${{ needs.info.outputs.changelog }} | ||
${{ steps.format_diff.outputs.text }} | ||
files: | | ||
${{ needs.info.outputs.project_full_name }}-curseforge.zip | ||
${{ needs.info.outputs.project_full_name }}-serverpack.zip | ||
${{ needs.info.outputs.project_full_name }}-multimc.zip | ||
prerelease: ${{ needs.info.outputs.release_type != 'release' }} | ||
generate_release_notes: true | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
release-curseforge: | ||
name: 🚀 Release to CurseForge | ||
needs: [info, build-modpack, build-server] | ||
needs: [info, build-modpack, build-server, release-github] | ||
runs-on: ubuntu-latest | ||
outputs: | ||
id: ${{ steps.release.outputs.id }} | ||
|
@@ -370,7 +417,7 @@ jobs: | |
|
||
# release-modrinth: | ||
# name: 🚀 Release to Modrinth | ||
# needs: [info, build-modpack, build-server] | ||
# needs: [info, build-modpack, build-server, release-github] | ||
# runs-on: ubuntu-latest | ||
|
||
# steps: | ||
|
@@ -406,55 +453,6 @@ jobs: | |
# server-display-name: ${{ needs.info.outputs.project_full_name }}-serverpack | ||
# release-type: ${{ needs.info.outputs.release_type }} | ||
|
||
release-github: | ||
name: 🚀 Release to GitHub | ||
needs: [info, build-modpack, build-server, build-multimc] | ||
runs-on: ubuntu-latest | ||
outputs: | ||
url: ${{ steps.release.outputs.url }} | ||
|
||
steps: | ||
- name: 📦 Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: 📦 Download artifact | ||
uses: actions/[email protected] | ||
with: | ||
merge-multiple: true | ||
|
||
- name: 🚫 Сlose fixed in dev | ||
uses: Xikaro/close-issues-based-on-label@master | ||
env: | ||
LABEL: "2. Status: In Dev" | ||
COMMENT: In ${{ needs.info.outputs.project_version }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Format diff | ||
id: format_diff | ||
if: ${{ needs.info.outputs.diff != '' }} | ||
uses: roamingowl/[email protected] | ||
with: | ||
template: | | ||
```markdown | ||
${{ needs.info.outputs.diff }} | ||
``` | ||
- name: 🚀 Create release | ||
id: release | ||
uses: softprops/[email protected] | ||
with: | ||
name: ${{ needs.info.outputs.project_version }} | ||
tag_name: ${{ needs.info.outputs.project_version }} | ||
body: | | ||
${{ needs.info.outputs.changelog }} | ||
${{ steps.format_diff.outputs.text }} | ||
files: | | ||
${{ needs.info.outputs.project_full_name }}-curseforge.zip | ||
${{ needs.info.outputs.project_full_name }}-serverpack.zip | ||
${{ needs.info.outputs.project_full_name }}-multimc.zip | ||
prerelease: ${{ needs.info.outputs.release_type != 'release' }} | ||
generate_release_notes: true | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
discord-message: | ||
name: 📱 Discord Message | ||
|
@@ -484,4 +482,4 @@ jobs: | |
```markdown | ||
${{ steps.truncated.outputs.text }} | ||
- ...``` | ||
** [Read more...](${{ needs.release-github.outputs.url }}) ** | ||
** [Read more...](${{ needs.release-github.outputs.url }}) ** |
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
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
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
84 changes: 84 additions & 0 deletions
84
kubejs/assets/tfg/models/block/artificial_end_portal_frame.json
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 |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"textures": { | ||
"particle": "block/end_portal_frame_side", | ||
"bottom": "block/end_stone", | ||
"top": "block/end_portal_frame_top", | ||
"side": "block/end_portal_frame_side", | ||
"eye": "block/end_portal_frame_eye" | ||
}, | ||
"elements": [ | ||
{ | ||
"from": [ | ||
0, | ||
0, | ||
0 | ||
], | ||
"to": [ | ||
16, | ||
16, | ||
16 | ||
], | ||
"faces": { | ||
"down": { | ||
"uv": [ | ||
0, | ||
0, | ||
16, | ||
16 | ||
], | ||
"texture": "#bottom", | ||
"cullface": "down" | ||
}, | ||
"up": { | ||
"uv": [ | ||
0, | ||
0, | ||
16, | ||
16 | ||
], | ||
"texture": "#top" | ||
}, | ||
"north": { | ||
"uv": [ | ||
0, | ||
3, | ||
16, | ||
16 | ||
], | ||
"texture": "#side", | ||
"cullface": "north" | ||
}, | ||
"south": { | ||
"uv": [ | ||
0, | ||
3, | ||
16, | ||
16 | ||
], | ||
"texture": "#side", | ||
"cullface": "south" | ||
}, | ||
"west": { | ||
"uv": [ | ||
0, | ||
3, | ||
16, | ||
16 | ||
], | ||
"texture": "#side", | ||
"cullface": "west" | ||
}, | ||
"east": { | ||
"uv": [ | ||
0, | ||
3, | ||
16, | ||
16 | ||
], | ||
"texture": "#side", | ||
"cullface": "east" | ||
} | ||
} | ||
} | ||
] | ||
} |
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
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
Oops, something went wrong.