Compare commits
31 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8904e14a27 | ||
![]() |
683eca8367 | ||
![]() |
36e7896f07 | ||
![]() |
0a74e1f9a6 | ||
![]() |
831b9ffda9 | ||
![]() |
9ad0b9820e | ||
![]() |
40bd725b3c | ||
![]() |
955b95c27c | ||
![]() |
5c8888dc22 | ||
![]() |
766eac8913 | ||
![]() |
f067c0ee01 | ||
![]() |
e19b46f92b | ||
![]() |
5059fcc4c5 | ||
![]() |
dbc4613044 | ||
![]() |
665c43c0a3 | ||
08bd6b5aa0 | |||
3299103050 | |||
![]() |
785e3f7189 | ||
![]() |
75ce74dc8f | ||
![]() |
0f53a996fd | ||
![]() |
6d370db912 | ||
![]() |
d8a46c37d7 | ||
![]() |
cdeee718ee | ||
![]() |
5026f5557d | ||
![]() |
a7d8333d68 | ||
1492379094 | |||
3432122a73 | |||
b0b4e95ba2 | |||
d9c4ea3dc7 | |||
e3f139b8b0 | |||
58f1cfd110 |
5 changed files with 26 additions and 6 deletions
|
@ -16,6 +16,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ secrets.PIPELINE_TOKEN }}
|
token: ${{ secrets.PIPELINE_TOKEN }}
|
||||||
|
- name: "Get LFS objects"
|
||||||
|
uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v3
|
||||||
|
with:
|
||||||
|
repository: ${{ gitea.repository }}
|
||||||
|
ref_name: ${{ gitea.ref_name }}
|
||||||
|
- name: Get all LFS objects
|
||||||
|
run: |
|
||||||
|
# Pull in all objects for all branches
|
||||||
|
git lfs fetch --all
|
||||||
- name: setup git config
|
- name: setup git config
|
||||||
run: |
|
run: |
|
||||||
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
|
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
|
||||||
|
@ -27,9 +36,16 @@ jobs:
|
||||||
branches=()
|
branches=()
|
||||||
eval "$(git for-each-ref --shell --format='branches+=(%(refname))' refs/remotes/origin/)"
|
eval "$(git for-each-ref --shell --format='branches+=(%(refname))' refs/remotes/origin/)"
|
||||||
for branch in "${branches[@]}"; do
|
for branch in "${branches[@]}"; do
|
||||||
|
# for debugging
|
||||||
|
echo "$branch"
|
||||||
|
if [ "$branch" == "refs/remotes/origin/HEAD" ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
# need to convert "'refs/remotes/origin/main" to "main"
|
# need to convert "'refs/remotes/origin/main" to "main"
|
||||||
branch_local=$(echo "$branch" | awk -F'[\\\\/]' ' { print $4 }')
|
branch_local=$(echo "$branch" | awk -F'[\\\\/]' ' { print $4 }')
|
||||||
git switch $branch_local
|
git switch $branch_local
|
||||||
|
git lfs pull
|
||||||
git status
|
git status
|
||||||
nix run .#update_plugin -- update geyser
|
nix run .#update_plugin -- update geyser
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
# DOnt add teh IDE's
|
# No need to have anything outside teh packwiz files inside teh pack
|
||||||
/.forgejo
|
/.forgejo
|
||||||
/.idea
|
/.idea
|
||||||
/docs
|
/docs
|
||||||
|
/nix
|
||||||
|
|
||||||
|
.git*
|
||||||
|
|
||||||
# dont add nix stuff
|
# dont add nix stuff
|
||||||
flake.*
|
flake.*
|
||||||
/nix
|
|
||||||
|
|
||||||
|
# Dont add documentation
|
||||||
*.md
|
*.md
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
bash-prompt-suffix = "[Skynet Dev] ";
|
|
||||||
extra-substituters = "https://nix-cache.skynet.ie/skynet-cache";
|
extra-substituters = "https://nix-cache.skynet.ie/skynet-cache";
|
||||||
extra-trusted-public-keys = "skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo=";
|
extra-trusted-public-keys = "skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo=";
|
||||||
};
|
};
|
||||||
|
@ -29,6 +28,7 @@
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
name = "Skynet Mod env";
|
name = "Skynet Mod env";
|
||||||
packages = packages_local;
|
packages = packages_local;
|
||||||
|
shellHook = "export PS1='[Skynet Dev] '";
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = {
|
packages = {
|
||||||
|
|
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
buildGoModule {
|
buildGoModule {
|
||||||
pname = "packwiz";
|
pname = "packwiz";
|
||||||
version = "0-unstable-2024-10-15";
|
version = "0-unstable-2025-05-08";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Silver-Golden";
|
owner = "Silver-Golden";
|
||||||
repo = "packwiz";
|
repo = "packwiz";
|
||||||
rev = "453264019e54eae69f495078b0f3fa073f071e73";
|
rev = "7ae91a58dbec3b76ce0aaaf15aeba3118021a34f";
|
||||||
sha256 = "sha256-x6Z8MLaacZFlRYOVkTU+ffYtCJu4FAB3I2W/uQITwns=";
|
sha256 = "sha256-3zUkePmVJTpU9+mkLyeqlZ1KNVDXNsFvoh8ifwXya1M=";
|
||||||
};
|
};
|
||||||
passthru.updateScript = unstableGitUpdater { };
|
passthru.updateScript = unstableGitUpdater { };
|
||||||
|
|
||||||
|
|
|
@ -13,3 +13,4 @@ purpur = "2428"
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
acceptable-game-versions = ["1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4", "1.21.5"]
|
acceptable-game-versions = ["1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4", "1.21.5"]
|
||||||
|
datapack-folder = "plugins"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue