-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Setup rust | ||
description: Installs rust for cross-compilation on ARM | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install ARM cross-compilation tools | ||
shell: bash | ||
run: sudo apt-get update && sudo apt-get install --assume-yes --no-install-recommends g++-aarch64-linux-gnu | ||
|
||
- name: Install rust | ||
shell: bash | ||
run: | | ||
rustup toolchain install stable --profile minimal | ||
rustup target add aarch64-unknown-linux-gnu |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Build Index | ||
|
||
on: | ||
push: | ||
branches: | ||
- "**" | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup rust | ||
uses: ./.github/actions/setup-rust | ||
|
||
- name: Setup cache | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Build | ||
shell: bash | ||
id: build | ||
run: | | ||
cargo build --release --target aarch64-unknown-linux-gnu | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: geode-index | ||
path: ./target/aarch64-unknown-linux-gnu/release/geode-index |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "geode-index" | ||
version = "0.31.1" | ||
version = "0.34.1" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-- Add up migration script here | ||
|
||
alter type gd_version add value '2.2074'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-- Add down migration script here | ||
|
||
ALTER TABLE mod_tags DROP COLUMN display_name; | ||
|
||
UPDATE mod_tags SET name = 'cheats' | ||
WHERE name = 'cheat'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
-- Add up migration script here | ||
|
||
ALTER TABLE mod_tags ADD COLUMN display_name TEXT; | ||
|
||
UPDATE mod_tags SET display_name = 'Universal' | ||
WHERE name = 'universal'; | ||
UPDATE mod_tags SET display_name = 'Gameplay' | ||
WHERE name = 'gameplay'; | ||
UPDATE mod_tags SET display_name = 'Editor' | ||
WHERE name = 'editor'; | ||
UPDATE mod_tags SET display_name = 'Offline' | ||
WHERE name = 'offline'; | ||
UPDATE mod_tags SET display_name = 'Online' | ||
WHERE name = 'online'; | ||
UPDATE mod_tags SET display_name = 'Enhancement' | ||
WHERE name = 'enhancement'; | ||
UPDATE mod_tags SET display_name = 'Music' | ||
WHERE name = 'music'; | ||
UPDATE mod_tags SET display_name = 'Interface' | ||
WHERE name = 'interface'; | ||
UPDATE mod_tags SET display_name = 'Bugfix' | ||
WHERE name = 'bugfix'; | ||
UPDATE mod_tags SET display_name = 'Utility' | ||
WHERE name = 'utility'; | ||
UPDATE mod_tags SET display_name = 'Performance' | ||
WHERE name = 'performance'; | ||
UPDATE mod_tags SET display_name = 'Customization' | ||
WHERE name = 'customization'; | ||
UPDATE mod_tags SET display_name = 'Content' | ||
WHERE name = 'content'; | ||
UPDATE mod_tags SET display_name = 'Developer' | ||
WHERE name = 'developer'; | ||
UPDATE mod_tags SET display_name = 'Cheat', name = 'cheat' | ||
WHERE name = 'cheats'; | ||
UPDATE mod_tags SET display_name = 'Paid' | ||
WHERE name = 'paid'; | ||
UPDATE mod_tags SET display_name = 'Joke' | ||
WHERE name = 'joke'; | ||
UPDATE mod_tags SET display_name = 'Modtober 2024' | ||
WHERE name = 'modtober24'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-- Add down migration script here | ||
|
||
ALTER TABLE mod_tags DROP is_readonly; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- Add up migration script here | ||
|
||
ALTER TABLE mod_tags | ||
ADD is_readonly BOOLEAN NOT NULL DEFAULT false; |