ci: pipeline to update geyser daily
ci: test the geyzer update ci: test the geyzer update2 ci: test the geyzer update3 ci: test the geyzer update4 Will only run once a day ci: test the geyzer update5
This commit is contained in:
parent
58098f164d
commit
041c8d3d10
5 changed files with 55 additions and 7 deletions
39
.forgejo/workflows/geyser.yml
Normal file
39
.forgejo/workflows/geyser.yml
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
# using code from the nixos repo
|
||||||
|
jobs:
|
||||||
|
# deploy_active:
|
||||||
|
# strategy:
|
||||||
|
# matrix:
|
||||||
|
# batch: [ active-core, active, active-ext ]
|
||||||
|
# runs-on: nix
|
||||||
|
# needs: [ deploy_dns ]
|
||||||
|
# steps:
|
||||||
|
# - uses: actions/checkout@v4
|
||||||
|
# - run: colmena apply -v --on @${{ matrix.batch }} --show-trace
|
||||||
|
# shell: bash
|
||||||
|
|
||||||
|
update:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
branch: [ main, skynet, anime_manga ]
|
||||||
|
runs-on: nix
|
||||||
|
permissions:
|
||||||
|
# Give the default GITHUB_TOKEN write permission to commit and push the
|
||||||
|
# added or changed files to the repository.
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ matrix.branch }}
|
||||||
|
token: ${{ secrets.PIPELINE_TOKEN }}
|
||||||
|
- run: nix run .#update_plugin -- update geyser
|
||||||
|
shell: bash
|
||||||
|
- uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
|
||||||
|
with:
|
||||||
|
commit_message: "Updated geyser for ${{ matrix.branch }}"
|
|
@ -30,6 +30,11 @@
|
||||||
name = "Skynet Mod env";
|
name = "Skynet Mod env";
|
||||||
packages = packages;
|
packages = packages;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
packages = {
|
||||||
|
# nix run .#update_plugin -- update $PLUGIN_NAME
|
||||||
|
update_plugin = (pkgs.callPackage ./nix/packwiz.nix {});
|
||||||
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
hash-format = "sha256"
|
hash-format = "sha256"
|
||||||
|
|
||||||
|
[[files]]
|
||||||
|
file = ".forgejo/workflows/geyser.yml"
|
||||||
|
hash = "4b7870694ad423e69562fb15217b1dc43bfb8ef914089a895c67dfee3f1832ab"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "plugins/essentialsx-discord.pw.toml"
|
file = "plugins/essentialsx-discord.pw.toml"
|
||||||
hash = "804258c5feaea06a885534f2b90fae82cfe03a0667b767e5abe5f8c0abec524e"
|
hash = "804258c5feaea06a885534f2b90fae82cfe03a0667b767e5abe5f8c0abec524e"
|
||||||
|
@ -17,7 +21,7 @@ metafile = true
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "plugins/geyser.pw.toml"
|
file = "plugins/geyser.pw.toml"
|
||||||
hash = "fc686f27269264a6fa392296160fcf03443725d3555fc55d8571b9b99f528c7b"
|
hash = "ca8bf1de06f10064f1a4cb227d7c876e944a71896b0e946d63006a17f67a951e"
|
||||||
metafile = true
|
metafile = true
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
|
|
|
@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
|
||||||
[index]
|
[index]
|
||||||
file = "index.toml"
|
file = "index.toml"
|
||||||
hash-format = "sha256"
|
hash-format = "sha256"
|
||||||
hash = "50c1fd39259ff3e2220c59022fd9757b38936beef9981e7aabdc53bae0040749"
|
hash = "888c1bb8f85c1946a91040d311b3b0a8faad4bff5c3fd952ad7f84c90cdf43a7"
|
||||||
|
|
||||||
[versions]
|
[versions]
|
||||||
minecraft = "1.21.3"
|
minecraft = "1.21.3"
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
name = "Geyser"
|
name = "Geyser"
|
||||||
filename = "Geyser-Spigot.jar"
|
filename = "geyser-fabric-Geyser-Fabric-2.6.0-b739.jar"
|
||||||
side = "server"
|
side = "server"
|
||||||
|
|
||||||
[download]
|
[download]
|
||||||
url = "https://cdn.modrinth.com/data/wKkoqHrH/versions/Ce2no8Zb/Geyser-Spigot.jar"
|
url = "https://cdn.modrinth.com/data/wKkoqHrH/versions/LRKpBXy0/geyser-fabric-Geyser-Fabric-2.6.0-b739.jar"
|
||||||
hash-format = "sha512"
|
hash-format = "sha1"
|
||||||
hash = "762a945daac5f40a9ef4d0d197f4dbad159f6ba1ffd4a0c0a0c6d166fe31aff11ac59e945c758f421853b224818250a4cac12a5d168614d3a492fc8d6bca624a"
|
hash = "f473af5c3ec8b9473bf08879a4c1a55c482a100e"
|
||||||
|
|
||||||
[update]
|
[update]
|
||||||
[update.modrinth]
|
[update.modrinth]
|
||||||
mod-id = "wKkoqHrH"
|
mod-id = "wKkoqHrH"
|
||||||
version = "Ce2no8Zb"
|
version = "LRKpBXy0"
|
||||||
|
|
Loading…
Reference in a new issue