From 3180e2b9f499ac2fa4239ce35c238799bfe628ca Mon Sep 17 00:00:00 2001 From: Bas Brinkman Date: Fri, 7 Jan 2022 18:26:38 +0100 Subject: [PATCH 1/3] added the -p param to mkdir --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fa78ef626..5f0523c92 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Prepare Modpack Files run: | - mkdir tmp/modpack + mkdir -p tmp/modpack cp modpack tmp/modpack - name: Download mods run: | From 086e9d35bac4c0ad7b2340a3cdff863f43a33b70 Mon Sep 17 00:00:00 2001 From: Bas Brinkman Date: Fri, 7 Jan 2022 18:28:23 +0100 Subject: [PATCH 2/3] -R to copy recursively --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5f0523c92..4712efd07 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - name: Prepare Modpack Files run: | mkdir -p tmp/modpack - cp modpack tmp/modpack + cp -R modpack tmp/modpack - name: Download mods run: | java -jar serverpack/ModpackDownloader-cli-0.7.1.jar -manifest ../modpack/manifest.json -folder ../modpack/overrides/mods From dd9d1b4c7624eddcabafb06d2fde94e8be9ee99b Mon Sep 17 00:00:00 2001 From: Bas Brinkman Date: Fri, 7 Jan 2022 18:31:36 +0100 Subject: [PATCH 3/3] correct the path to the downloader jar --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4712efd07..3d23b7261 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: cp -R modpack tmp/modpack - name: Download mods run: | - java -jar serverpack/ModpackDownloader-cli-0.7.1.jar -manifest ../modpack/manifest.json -folder ../modpack/overrides/mods + java -jar serverpack/ModpackDownloader-cli-0.7.1.jar -manifest tmp/modpack/manifest.json -folder tmp/modpack/overrides/mods ls -a modpack/overrides/mods - name: Make Server-pack run: |