From 0377484448d0ffa19d8b5e55a65f5597ac1aa9d2 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 01:22:06 +0100 Subject: [PATCH 01/28] Create .github/workflows/main.yml --- .github/workflows/main.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..47f24e1 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,30 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "greet" + greet: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Send greeting + run: echo "Hello ${{ github.event.inputs.name }}" From 32f924fd5a886a12f4940f664748a6b3ad075d40 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 01:26:32 +0100 Subject: [PATCH 02/28] Create .github/workflows/manual.yml --- .github/workflows/manual.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000..cb5ed93 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,32 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "greet" + greet: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Send greeting + run: | + echo "test" + echo "Hello 2" From ff19bc76df32f2a57caa205fb1828273c2725497 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 01:29:46 +0100 Subject: [PATCH 03/28] Update manual.yml --- .github/workflows/manual.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index cb5ed93..fd05b0c 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -1,7 +1,6 @@ # This is a basic workflow that is manually triggered name: Manual workflow - # Controls when the action will run. Workflow runs when manually triggered using the UI # or API. on: @@ -18,15 +17,11 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "greet" - greet: - # The type of runner that the job will run on + assemble_package: runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Runs a single command using the runners shell - - name: Send greeting - run: | - echo "test" - echo "Hello 2" + - name: Run audit + id: audit + run: | + echo "Test1" + echo "Test2" From 47538976ea8553096c6c346f7ebd51197b7663e3 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 01:47:41 +0100 Subject: [PATCH 04/28] Update manual.yml --- .github/workflows/manual.yml | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index fd05b0c..9014fb9 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -1,27 +1,22 @@ -# This is a basic workflow that is manually triggered - -name: Manual workflow -# Controls when the action will run. Workflow runs when manually triggered using the UI -# or API. +name: Build Mod on: workflow_dispatch: - # Inputs the workflow accepts. inputs: - name: + mod_name: # Friendly description to be shown in the UI instead of 'name' - description: 'Person to greet' + description: 'Mod name' # Default value if no value is explicitly provided - default: 'World' + default: 'TheOnlyCure' # Input has to be provided for the workflow to run required: true - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - assemble_package: + my_first_job: runs-on: ubuntu-latest steps: - - name: Run audit - id: audit - run: | - echo "Test1" - echo "Test2" + - uses: actions/checkout@v3 + - run: mkdir -p ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name} + - run: echo hello > ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name}/world.txt + - uses: actions/upload-artifact@v3 + with: + name: ${{ inputs.mod_name }} + path: path/to/artifact/world.txt From a78ed83a666aac16bbd3b6e7f8d868792dd902e0 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 01:51:22 +0100 Subject: [PATCH 05/28] Delete main.yml --- .github/workflows/main.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 47f24e1..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,30 +0,0 @@ -# This is a basic workflow that is manually triggered - -name: Manual workflow - -# Controls when the action will run. Workflow runs when manually triggered using the UI -# or API. -on: - workflow_dispatch: - # Inputs the workflow accepts. - inputs: - name: - # Friendly description to be shown in the UI instead of 'name' - description: 'Person to greet' - # Default value if no value is explicitly provided - default: 'World' - # Input has to be provided for the workflow to run - required: true - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "greet" - greet: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Runs a single command using the runners shell - - name: Send greeting - run: echo "Hello ${{ github.event.inputs.name }}" From aeb777e8d172b100e5e6d4c861eb153364edc7af Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 01:51:29 +0100 Subject: [PATCH 06/28] Delete manual.yml --- .github/workflows/manual.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml deleted file mode 100644 index 9014fb9..0000000 --- a/.github/workflows/manual.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Build Mod -on: - workflow_dispatch: - inputs: - mod_name: - # Friendly description to be shown in the UI instead of 'name' - description: 'Mod name' - # Default value if no value is explicitly provided - default: 'TheOnlyCure' - # Input has to be provided for the workflow to run - required: true -jobs: - my_first_job: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: mkdir -p ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name} - - run: echo hello > ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name}/world.txt - - uses: actions/upload-artifact@v3 - with: - name: ${{ inputs.mod_name }} - path: path/to/artifact/world.txt From b5c25ba4b74125e456fe28064cb26e17799cc838 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 01:51:54 +0100 Subject: [PATCH 07/28] Create .github/workflows/manual.yml --- .github/workflows/build_mod.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build_mod.yml diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml new file mode 100644 index 0000000..9014fb9 --- /dev/null +++ b/.github/workflows/build_mod.yml @@ -0,0 +1,22 @@ +name: Build Mod +on: + workflow_dispatch: + inputs: + mod_name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Mod name' + # Default value if no value is explicitly provided + default: 'TheOnlyCure' + # Input has to be provided for the workflow to run + required: true +jobs: + my_first_job: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: mkdir -p ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name} + - run: echo hello > ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name}/world.txt + - uses: actions/upload-artifact@v3 + with: + name: ${{ inputs.mod_name }} + path: path/to/artifact/world.txt From 5df7c791a22b8d55f4a99088d695ad07652d277b Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 01:53:04 +0100 Subject: [PATCH 08/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index 9014fb9..d175896 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -14,9 +14,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: mkdir -p ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name} - - run: echo hello > ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name}/world.txt + - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} + - run: echo hello > $${{ inputs.mod_name}}/Contents/mods/${{ inputs.mod_name }}/world.txt - uses: actions/upload-artifact@v3 with: name: ${{ inputs.mod_name }} - path: path/to/artifact/world.txt + path: ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/world.txt From 5b57a06d94064c2f1c5fe03e04956a9218d03bdc Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 01:54:34 +0100 Subject: [PATCH 09/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index d175896..25ac621 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} - - run: echo hello > $${{ inputs.mod_name}}/Contents/mods/${{ inputs.mod_name }}/world.txt + - run: echo hello > ${{ inputs.mod_name}}/Contents/mods/${{ inputs.mod_name }}/world.txt - uses: actions/upload-artifact@v3 with: name: ${{ inputs.mod_name }} From 92a545cc42a081cfc3a390eb76930e8af2035cbe Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 01:59:09 +0100 Subject: [PATCH 10/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index 25ac621..0653f1d 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -14,7 +14,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - run: mkdir -p ${{ inputs.mod_name }} + - run: mkdir -p ${{ inputs.mod_name }}/Contents + - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/ - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} + + - run: echo hello > ${{ inputs.mod_name}}/Contents/mods/${{ inputs.mod_name }}/world.txt - uses: actions/upload-artifact@v3 with: From 7a1153511128e1f31fb39f2579d9ccf7c4c727c6 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:01:41 +0100 Subject: [PATCH 11/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index 0653f1d..fb5eb2c 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -24,4 +24,6 @@ jobs: - uses: actions/upload-artifact@v3 with: name: ${{ inputs.mod_name }} - path: ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/world.txt + path: | + ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} + ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/world.txt From 3e9563ad9af2468017539469d2c03a1ad07c79de Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:02:51 +0100 Subject: [PATCH 12/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index fb5eb2c..dc243a5 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -26,4 +26,3 @@ jobs: name: ${{ inputs.mod_name }} path: | ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} - ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/world.txt From d1d8f7bce83412d871c8770b0af45fd93d52d9de Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:04:23 +0100 Subject: [PATCH 13/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index dc243a5..68d2dad 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -14,13 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: mkdir -p ${{ inputs.mod_name }} - - run: mkdir -p ${{ inputs.mod_name }}/Contents - - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/ - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} - - - - run: echo hello > ${{ inputs.mod_name}}/Contents/mods/${{ inputs.mod_name }}/world.txt - uses: actions/upload-artifact@v3 with: name: ${{ inputs.mod_name }} From fe048d2b049af0eeb408d47507f7b50cf90503d8 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:09:14 +0100 Subject: [PATCH 14/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index 68d2dad..714c9e1 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -15,6 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} + - run: echo hello > ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/world.txt - uses: actions/upload-artifact@v3 with: name: ${{ inputs.mod_name }} From ae55e7edf421ac51797b57a55900e6f67a71612c Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:13:47 +0100 Subject: [PATCH 15/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index 714c9e1..fcfce38 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -10,7 +10,7 @@ on: # Input has to be provided for the workflow to run required: true jobs: - my_first_job: + main_job: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -20,4 +20,4 @@ jobs: with: name: ${{ inputs.mod_name }} path: | - ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} + ./${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} From bafc26cb6ddc6b52049ed0e4cc68f8d03b03ee37 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:18:51 +0100 Subject: [PATCH 16/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index fcfce38..f05fa29 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -14,10 +14,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} - - run: echo hello > ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/world.txt + # - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} + # - run: echo hello > ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/world.txt + - run: mkdir -p testpath/test2/test1 + - run: echo hello > testpath/test2/test1/world.txt - uses: actions/upload-artifact@v3 with: name: ${{ inputs.mod_name }} path: | - ./${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} + testpath/test2/test1/ From 936263147d092243f0262007e6776a9a3af3b72a Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:21:35 +0100 Subject: [PATCH 17/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index f05fa29..109a8b3 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -22,4 +22,6 @@ jobs: with: name: ${{ inputs.mod_name }} path: | - testpath/test2/test1/ + testpath + testpath/test2 + testpath/test2/test1 From b87e49735d6152e33a483d73e2aae3093bb8e54d Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:26:17 +0100 Subject: [PATCH 18/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index 109a8b3..c6dc8a3 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -14,14 +14,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - # - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} - # - run: echo hello > ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/world.txt + - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} - run: mkdir -p testpath/test2/test1 - - run: echo hello > testpath/test2/test1/world.txt + - run: echo ls - uses: actions/upload-artifact@v3 with: name: ${{ inputs.mod_name }} path: | - testpath - testpath/test2 - testpath/test2/test1 + ${{ inputs.mod_name }} + ${{ inputs.mod_name }}/Contents/ + ${{ inputs.mod_name }}/Contents/mods + ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} From 3b57da353376b1d49305415599cbf1f19bf36abf Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:26:33 +0100 Subject: [PATCH 19/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index c6dc8a3..bf346bc 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} - run: mkdir -p testpath/test2/test1 - - run: echo ls + - run: ls - uses: actions/upload-artifact@v3 with: name: ${{ inputs.mod_name }} From 3890192baaaa5aea25be8a7da65c083c889161d0 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:29:21 +0100 Subject: [PATCH 20/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index bf346bc..0044e91 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -15,8 +15,9 @@ jobs: steps: - uses: actions/checkout@v3 - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} - - run: mkdir -p testpath/test2/test1 - - run: ls + - run: cp workshop.txt ${{ inputs.mod_name }}/workshop.txt + - run: cp mod.info ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/mod.info + - run: cp media ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/media - uses: actions/upload-artifact@v3 with: name: ${{ inputs.mod_name }} @@ -24,4 +25,4 @@ jobs: ${{ inputs.mod_name }} ${{ inputs.mod_name }}/Contents/ ${{ inputs.mod_name }}/Contents/mods - ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} + ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/* From 37a33e6904c53eff2ae391c934015c1ce6cab76d Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:30:11 +0100 Subject: [PATCH 21/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index 0044e91..ed9a932 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -17,7 +17,7 @@ jobs: - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} - run: cp workshop.txt ${{ inputs.mod_name }}/workshop.txt - run: cp mod.info ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/mod.info - - run: cp media ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/media + - run: cp -r media ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/media - uses: actions/upload-artifact@v3 with: name: ${{ inputs.mod_name }} From 0d04e03dc81d8203d73cc7221a67f8b2534cf21e Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:34:42 +0100 Subject: [PATCH 22/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index ed9a932..651009e 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -3,11 +3,12 @@ on: workflow_dispatch: inputs: mod_name: - # Friendly description to be shown in the UI instead of 'name' description: 'Mod name' - # Default value if no value is explicitly provided default: 'TheOnlyCure' - # Input has to be provided for the workflow to run + required: true + version: + description: 'Version' + default: '1.0' required: true jobs: main_job: @@ -16,11 +17,14 @@ jobs: - uses: actions/checkout@v3 - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} - run: cp workshop.txt ${{ inputs.mod_name }}/workshop.txt + - run: cp preview.png ${{ inputs.mod_name}}/preview.png - run: cp mod.info ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/mod.info + - run: cp icon.png ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/icon.png + - run: cp generic.png ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/generic.png - run: cp -r media ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/media - uses: actions/upload-artifact@v3 with: - name: ${{ inputs.mod_name }} + name: ${{ inputs.mod_name }}-${{ inputs.version }} path: | ${{ inputs.mod_name }} ${{ inputs.mod_name }}/Contents/ From d01171b76bff6712c17334251bfd4018a80a00ee Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:37:49 +0100 Subject: [PATCH 23/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index 651009e..afb7f18 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -15,18 +15,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} - - run: cp workshop.txt ${{ inputs.mod_name }}/workshop.txt - - run: cp preview.png ${{ inputs.mod_name}}/preview.png - - run: cp mod.info ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/mod.info - - run: cp icon.png ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/icon.png - - run: cp generic.png ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/generic.png - - run: cp -r media ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/media + - run: mkdir -p root/${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }} + - run: cp workshop.txt root/${{ inputs.mod_name }}/workshop.txt + - run: cp preview.png root/${{ inputs.mod_name}}/preview.png + - run: cp mod.info root/${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/mod.info + - run: cp icon.png root/${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/icon.png + - run: cp generic.png root/${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/generic.png + - run: cp -r media root/${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/media - uses: actions/upload-artifact@v3 with: name: ${{ inputs.mod_name }}-${{ inputs.version }} path: | - ${{ inputs.mod_name }} - ${{ inputs.mod_name }}/Contents/ - ${{ inputs.mod_name }}/Contents/mods - ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/* + root/${{ inputs.mod_name }} + root/${{ inputs.mod_name }}/Contents/ + root/${{ inputs.mod_name }}/Contents/mods + root/${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/* From f6d7266b0592e736e0044dc2499ccb5228bf8590 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:39:59 +0100 Subject: [PATCH 24/28] Update build_mod.yml --- .github/workflows/build_mod.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_mod.yml b/.github/workflows/build_mod.yml index afb7f18..f963ed3 100644 --- a/.github/workflows/build_mod.yml +++ b/.github/workflows/build_mod.yml @@ -26,6 +26,7 @@ jobs: with: name: ${{ inputs.mod_name }}-${{ inputs.version }} path: | + root root/${{ inputs.mod_name }} root/${{ inputs.mod_name }}/Contents/ root/${{ inputs.mod_name }}/Contents/mods From a6e54023bcf3244e085ef408ee5217c7d9bdd411 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:44:43 +0100 Subject: [PATCH 25/28] Update README.md --- README.md | 41 +++-------------------------------------- 1 file changed, 3 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index 73b4da8..91f114d 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,4 @@ -# THE ONLY CURE -``` -Workshop ID: 2915572347 +Dev Version +Version: 0.9.24 +Workshop ID: 2915572347 Mod ID: Amputation2 -``` -A working version for SP and MP. -I'm not gonna bother "adding" stuff, for now. -If Mr Bounty returns, I'm probably not gonna continue this. - -Original Mod: https://steamcommunity.com/sharedfiles/filedetails/?id=2703664356 - -**_DO NOT LOAD THIS WITH THE ONLY CURE BETA!!! CHOOSE ONE!_** - - -## BASIC TUTORIAL -If you've been bitten, there's only one thing you can do: cut your losses and cut off the infected limb. You need to have a Saw (or a garden saw) in your inventory, go to the health menu and click on "The Only Cure" button. You'll see a menu with the limbs you can amputate off. Select the bitten\lacerated\scratched\whatever part and press on "Cut". If you have bandages (sterilized or not), you'll make the process easier by automatically bandaging your limb after the deed is done. By cutting off a limb, you'll lose a level on Fitness and Strength. Now for the "easier" part, you'll have to wait until your wound is cicatrized. You can stitch the wound and bandage it, but it won't make the process any faster: you'll need a surgeon kit. These kits can be found in the wild or crafted by learning a specific recipe. After you've found a kit, you can get back to "The Only Cure" menu and click on "Operate" to make the cicatrization process faster. Higher tier kits make the process a lot faster than basic ones. Your First Aid skill will also count on how long you'll have to wait until your wound is completely healed. After the cicatrization is done, you'll be able to install some prosthetic limbs (only if you cut off your hand or forearm); as always, you'll have to find some specific recipes to craft them. With a prosthesis equipped, you'll be able to perform two handed tasks again, but a malus on time necessary will still apply. - - -## IMPORTANT -I basically rewrote most of the code, and some things with older character could break. I tried to make it as seamless as possible, but equipped prosthesis on character made with the older versions will disappear and you'll have to craft them again. - -## STATUS -### FIXED -- The Only Cure UI in the Medical Check menu not working when checking other players -- The Only Cure context menu on right click -- Operating with oven completely broken -- Invisible prosthesis on female models (still WIP, forearms especially) -- Prosthetics handling being prone to breaking -- A lot of other stuff under the hood -### ADDED -- Debug cheats (MP Compatible) to reset amputations -- You can amputate\operate other players via Medical Check -- Better animations for amputating limbs -- Bleeding when you're amputating limbs -- Amputated limbs and prosthesis can get bloody -- Dynamic skin color for amputated limbs -- TOC Menu refreshes automatically, no need to close it and reopen it again -### KNOWN PROBLEMS -- Some models won't show From c8c3a24237c81ec84ad578992eaf2a70edcddec8 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:45:54 +0100 Subject: [PATCH 26/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 91f114d..13d1080 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Dev Version +# Dev Version Version: 0.9.24 Workshop ID: 2915572347 Mod ID: Amputation2 From 988f27f4d82b2ddda891825965b36746e10b74ab Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:47:18 +0100 Subject: [PATCH 27/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 13d1080..2b937cf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # Dev Version -Version: 0.9.24 +Version: 1.0 Workshop ID: 2915572347 Mod ID: Amputation2 From 578ec5b26d30b3b9414e9fc47a73c3970f3de2d3 Mon Sep 17 00:00:00 2001 From: Pao Date: Fri, 10 Mar 2023 02:47:28 +0100 Subject: [PATCH 28/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b937cf..6c0bd47 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # Dev Version -Version: 1.0 +Version: 1.0 Workshop ID: 2915572347 Mod ID: Amputation2