Skip to content

Commit ae75920

Browse files
committed
add ci
1 parent 3b86d1a commit ae75920

File tree

7 files changed

+274
-207
lines changed

7 files changed

+274
-207
lines changed

.github/workflows/main.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# https://trstringer.com/github-actions-create-release-upload-artifacts/
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build_release:
10+
name: build_release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: checkout
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
- name: build
18+
run: zip -r profile.zip overrides manifest.json
19+
- name: version
20+
run: echo "version=$(./scripts/get_manifest_version.py)" >> $GITHUB_OUTPUT
21+
id: version
22+
- name: release
23+
# enabled Workflow write permission
24+
uses: actions/[email protected]
25+
id: create_release
26+
with:
27+
draft: false
28+
prerelease: false
29+
tag_name: ${{ steps.version.outputs.version }}
30+
release_name: Manifest version ${{ steps.version.outputs.version }}
31+
body_path: CHANGELOG.md
32+
env:
33+
GITHUB_TOKEN: ${{ github.token }}
34+
- name: upload artifact
35+
uses: actions/upload-release-asset@v1
36+
env:
37+
GITHUB_TOKEN: ${{ github.token }}
38+
with:
39+
upload_url: ${{ steps.create_release.outputs.upload_url }}
40+
asset_path: ./profile.zip
41+
asset_name: profile.zip
42+
asset_content_type: application/zip

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* Fix: prevent cascading worldgen
2+
* Added release CI

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ This is a CurseForge profile for Minecraft 1.12.2.
44
It contains [these mods](./modlist.md), with a focus on simplicity and exploration.
55

66
1. Download CurseForge [here](https://www.curseforge.com/download/app).
7-
2. Download the profile [here](https://github.com/jagprog5/modpack-client/releases/latest/download/profile.zip).*
8-
4. Import the profile into CurseForge [like shown](https://www.youtube.com/watch?v=yPyAjmrpmpU).
7+
2. Download the profile [here](https://github.com/jagprog5/modpack-client/releases/latest/download/profile.zip).
8+
3. Import the profile into CurseForge [like shown](https://www.youtube.com/watch?v=yPyAjmrpmpU).
99

1010
<sup>\*or generate it yourself with: `zip -r profile.zip overrides manifest.json`</sup>
1111

@@ -16,7 +16,7 @@ This can be skipped if you don't want shaders. OptiFine needs to be downloaded s
1616
1. Download OptiFine [here](https://optifine.net/adloadx?f=OptiFine_1.12.2_HD_U_G5.jar).
1717
2. Move it into the profile [like shown](https://www.youtube.com/watch?v=WCfDJ7ZFB1c).
1818

19-
MakeUp Ultra Fast shaders are already provided.
19+
MakeUp Ultra Fast shaders are already provided (and are enabled by default).
2020

2121
# Server
2222

@@ -27,6 +27,6 @@ This modpack can be played on a server. The server code is [here](https://github
2727
Do not update the mods, as this will lead to incompatible mod versions with the
2828
server. This repo may be updated and if it is then the server mods will be kept in sync.
2929

30-
## Graphics Issues
30+
## Troubleshooting
3131

32-
If the game starts with a blank screen or otherwise doesn't look right then delete `options.txt` and restart the game. This sets the settings to the default. This issues was seen on a MacBook.
32+
If the game starts with a blank screen then delete `options.txt` and restart; this issues was seen on a MacBook.

0 commit comments

Comments
 (0)