Compare commits
24 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b904d35ac3 | ||
![]() |
726d912062 | ||
![]() |
f80ac39968 | ||
![]() |
a846f08b76 | ||
![]() |
b51fdc1ff5 | ||
![]() |
66c3823ee3 | ||
![]() |
71e7ec36f4 | ||
![]() |
e0d09b10e9 | ||
![]() |
19196fda68 | ||
![]() |
f11e352d4c | ||
![]() |
3042fe8ab7 | ||
![]() |
3c17a59362 | ||
![]() |
643c3510ed | ||
![]() |
b6ff7557f9 | ||
![]() |
dc6a6daf48 | ||
![]() |
1d7bcdd0ef | ||
![]() |
4d9550cb9d | ||
![]() |
936244576f | ||
![]() |
59cf77fc23 | ||
![]() |
3e37889653 | ||
![]() |
ae18c6bb89 | ||
![]() |
099b0c910a | ||
![]() |
86518d5e0d | ||
9548da887b |
5 changed files with 6 additions and 26 deletions
|
@ -16,15 +16,6 @@ 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
|
||||||
|
@ -36,16 +27,9 @@ 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,13 +1,10 @@
|
||||||
# No need to have anything outside teh packwiz files inside teh pack
|
# DOnt add teh IDE's
|
||||||
/.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,6 +7,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
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=";
|
||||||
};
|
};
|
||||||
|
@ -28,7 +29,6 @@
|
||||||
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-2025-05-08";
|
version = "0-unstable-2024-10-15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Silver-Golden";
|
owner = "Silver-Golden";
|
||||||
repo = "packwiz";
|
repo = "packwiz";
|
||||||
rev = "7ae91a58dbec3b76ce0aaaf15aeba3118021a34f";
|
rev = "453264019e54eae69f495078b0f3fa073f071e73";
|
||||||
sha256 = "sha256-3zUkePmVJTpU9+mkLyeqlZ1KNVDXNsFvoh8ifwXya1M=";
|
sha256 = "sha256-x6Z8MLaacZFlRYOVkTU+ffYtCJu4FAB3I2W/uQITwns=";
|
||||||
};
|
};
|
||||||
passthru.updateScript = unstableGitUpdater { };
|
passthru.updateScript = unstableGitUpdater { };
|
||||||
|
|
||||||
|
|
|
@ -13,4 +13,3 @@ 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