-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from The-Grand-Archives/dev
Release v1.14
- Loading branch information
Showing
8,668 changed files
with
158,008 additions
and
148,954 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: "Build and check" | ||
outputs: | ||
release-tag: | ||
value: ${{ steps.collect_version.outputs.tag }} | ||
build-artifact-name: | ||
value: ER_TGA_${{ steps.collect_version.outputs.tag }} | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install dependencies | ||
shell: bash | ||
run: ./scripts/install_deps.sh | ||
|
||
- name: CE2FS build | ||
shell: bash | ||
run: "python ./scripts/build.py --check" | ||
|
||
- name: Collect table version | ||
id: collect_version | ||
shell: bash | ||
run: source BUILD_ENV && echo tag=v${TABLE_VERSION} >> $GITHUB_OUTPUT | ||
|
||
- name: Upload build | ||
id: upload_build | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ER_TGA_${{ steps.collect_version.outputs.tag }} | ||
path: dist | ||
retention-days: 5 |
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,17 @@ | ||
name: "Checks" | ||
on: | ||
pull_request: | ||
branches: [dev] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Build | ||
uses: "./.github/actions/build" | ||
|
||
|
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,94 @@ | ||
name: "Release" | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: "Build" | ||
id: build | ||
uses: "./.github/actions/build" | ||
|
||
outputs: | ||
release-tag: ${{ steps.build.outputs.release-tag }} | ||
build-artifact-name: ${{ steps.build.outputs.build-artifact-name }} | ||
|
||
check-version: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-tags: true | ||
fetch-depth: 0 | ||
sparse-checkout: BUILD_ENV | ||
|
||
- name: Ensure version was updated | ||
run: | | ||
source BUILD_ENV | ||
if git show-ref --tags --verify "refs/tags/v${TABLE_VERSION}"; then | ||
echo "Release v${TABLE_VERSION} already exists" | ||
exit 1 | ||
fi | ||
generate-changelog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: | | ||
CHANGELOG.md | ||
BUILD_ENV | ||
- name: Extract changelog section | ||
id: extract_changelog | ||
run: | | ||
source BUILD_ENV | ||
escaped=$(echo "v${TABLE_VERSION}" | sed 's/\./\\./g') | ||
changelog=$(grep -zoP "## \[$escaped\](?:.|\n)*?\n## " CHANGELOG.md | sed '1d; $ d') | ||
if [ -z "${changelog}" ]; then | ||
echo "No changelog written for release v${TABLE_VERSION}. Aborting." | ||
exit 1 | ||
fi | ||
{ | ||
echo 'changelog<<EOF' | ||
echo "## Elden Ring app ver. ${GAME_VERSION}" | ||
echo "${changelog}" | ||
echo EOF | ||
} >> $GITHUB_OUTPUT | ||
outputs: | ||
changelog: ${{ steps.extract_changelog.outputs.changelog }} | ||
|
||
publish-release: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build | ||
- check-version | ||
- generate-changelog | ||
if: github.event_name == 'push' | ||
steps: | ||
- name: Download build artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ needs.build.outputs.build-artifact-name }} | ||
path: dist | ||
|
||
- name: Create zip | ||
run: zip ${{ needs.build.outputs.build-artifact-name }}.zip dist/* -r | ||
|
||
- name: Publish release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
name: Release ${{ needs.build.outputs.release-tag }} | ||
tag_name: ${{ needs.build.outputs.release-tag }} | ||
body: ${{ needs.generate-changelog.outputs.changelog }} | ||
files: ${{ needs.build.outputs.build-artifact-name }}.zip |
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 +1,3 @@ | ||
Releases/* | ||
dist/ | ||
CheatTable/Files/ | ||
__pycache__ |
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,8 +1,16 @@ | ||
{ | ||
"clangd.fallbackFlags": [ | ||
"-I${workspaceFolder}/resources/include", | ||
"-IC:/Program Files/Cheat Engine 7.4/include", | ||
"-IC:/Program Files/Cheat Engine 7.5/include", | ||
"-xc", | ||
"-std=gnu99" | ||
] | ||
], | ||
"Lua.runtime.version": "Lua 5.3", | ||
"Lua.diagnostics.disable": [ | ||
"lowercase-global", | ||
"undefined-global" | ||
], | ||
"files.associations": { | ||
"*.cea": "lua" // TODO: Make language extension for CE that dispatches to lua/C/AA accordingly | ||
} | ||
} |
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,62 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "TGA: Generate Missing XML", | ||
"type": "shell", | ||
"command": "./scripts/check.sh", | ||
"windows": { | ||
"command": ".\\scripts\\check.bat" | ||
}, | ||
"args": ["--fixup"], | ||
"group": "build", | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": false | ||
} | ||
}, | ||
{ | ||
"label": "TGA: Build Table", | ||
"type": "shell", | ||
"command": "./scripts/build.sh", | ||
"windows": { | ||
"command": ".\\scripts\\build.bat" | ||
}, | ||
"group": "build", | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": false | ||
} | ||
}, | ||
{ | ||
"label": "TGA: Build table and generate missing XML", | ||
"type": "shell", | ||
"command": "./scripts/build.sh", | ||
"windows": { | ||
"command": ".\\scripts\\build.bat" | ||
}, | ||
"args": ["--fixup"], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": false | ||
}, | ||
"problemMatcher": [] | ||
} | ||
] | ||
} |
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,3 @@ | ||
TABLE_VERSION=1.14.0 | ||
GAME_VERSION=1.12.3 | ||
MIN_CE_VERSION=7.4 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<CheatTable CheatEngineTableVersion="45"/> |
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,5 @@ | ||
<CheatEntry> | ||
<x-ce2fs-child-order> | ||
<id id="0"/> | ||
</x-ce2fs-child-order> | ||
</CheatEntry> |
Oops, something went wrong.