From 0a7a434a4e38c603fe8a8674f30e195bd3251ae5 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Mon, 18 Dec 2023 05:14:23 +0000 Subject: [PATCH 01/13] draft: add pipenv installation --- .gitea/workflows/modzip.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitea/workflows/modzip.yaml diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml new file mode 100644 index 0000000..131fcd2 --- /dev/null +++ b/.gitea/workflows/modzip.yaml @@ -0,0 +1,10 @@ +name: Make mod zip release +run-name: ${{ gitea.actor }} assembles mod zip release +on: [push] + +jobs: + Assemble-Zip: + runs-on: ubuntu-latest + steps: + - name: "prepare pipenv" + run: "python3 -m pip install pipenv" -- 2.45.2 From 49e3100166e38fc2f1c5f100ecfa8c77a5a8fb3d Mon Sep 17 00:00:00 2001 From: Aleksey Date: Mon, 18 Dec 2023 05:18:04 +0000 Subject: [PATCH 02/13] try to use apt --- .gitea/workflows/modzip.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index 131fcd2..3c81eba 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -6,5 +6,5 @@ jobs: Assemble-Zip: runs-on: ubuntu-latest steps: - - name: "prepare pipenv" - run: "python3 -m pip install pipenv" + - name: "prepare pip" + run: "apt install pipenv" -- 2.45.2 From 6c1a894ab8dd53a3da6675225242088eeebe1b0c Mon Sep 17 00:00:00 2001 From: Aleksey Date: Mon, 18 Dec 2023 05:20:43 +0000 Subject: [PATCH 03/13] actions: apt update --- .gitea/workflows/demo.yaml | 19 ------------------- .gitea/workflows/modzip.yaml | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 .gitea/workflows/demo.yaml diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml deleted file mode 100644 index 1029150..0000000 --- a/.gitea/workflows/demo.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] - -jobs: - Explore-Gitea-Actions: - runs-on: ubuntu-latest - steps: - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code - uses: actions/checkout@v3 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index 3c81eba..03dde7d 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -7,4 +7,4 @@ jobs: runs-on: ubuntu-latest steps: - name: "prepare pip" - run: "apt install pipenv" + run: "apt update && apt install pipenv" -- 2.45.2 From 3ccb4bab71c20e5ac490ad07cfe01226de9668e1 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Mon, 18 Dec 2023 05:21:53 +0000 Subject: [PATCH 04/13] actions: apt -y --- .gitea/workflows/modzip.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index 03dde7d..27f7825 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -7,4 +7,4 @@ jobs: runs-on: ubuntu-latest steps: - name: "prepare pip" - run: "apt update && apt install pipenv" + run: "apt update -y && apt install pipenv -y" -- 2.45.2 From 633695e5c4a07d80c1f05ea28770e7eb8139668f Mon Sep 17 00:00:00 2001 From: Aleksey Date: Mon, 18 Dec 2023 05:44:27 +0000 Subject: [PATCH 05/13] actions: add checkout, pipenv install --- .gitea/workflows/modzip.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index 27f7825..a93b801 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -6,5 +6,11 @@ jobs: Assemble-Zip: runs-on: ubuntu-latest steps: - - name: "prepare pip" - run: "apt update -y && apt install pipenv -y" + - name: "install pip" + run: |- + apt update -y && apt install pipenv -y + - name: "checkout" + uses: actions/checkout@v3 + - name: "setup pipenv environment" + run: pipenv install + working-directory: ${{ gitea.workspace }} -- 2.45.2 From 48f6434fbfe21fb61d232c61773e5d2a5d7047bd Mon Sep 17 00:00:00 2001 From: Aleksey Date: Mon, 18 Dec 2023 05:46:48 +0000 Subject: [PATCH 06/13] actions: pipenv attempt to feed system python3 --- .gitea/workflows/modzip.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index a93b801..9167863 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -12,5 +12,5 @@ jobs: - name: "checkout" uses: actions/checkout@v3 - name: "setup pipenv environment" - run: pipenv install + run: pipenv --python /usr/bin/python3 install working-directory: ${{ gitea.workspace }} -- 2.45.2 From 8a70414115d6c516b6baebaace6484cf62bee596 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Mon, 18 Dec 2023 11:20:37 +0000 Subject: [PATCH 07/13] actions: change environment --- .gitea/workflows/modzip.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index 9167863..b417860 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -4,7 +4,7 @@ on: [push] jobs: Assemble-Zip: - runs-on: ubuntu-latest + runs-on: python3.11 steps: - name: "install pip" run: |- @@ -12,5 +12,5 @@ jobs: - name: "checkout" uses: actions/checkout@v3 - name: "setup pipenv environment" - run: pipenv --python /usr/bin/python3 install + run: pipenv install working-directory: ${{ gitea.workspace }} -- 2.45.2 From f0527f52cfbf75814008b8d2cafeb873056aca16 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Tue, 19 Dec 2023 15:38:15 +0000 Subject: [PATCH 08/13] actions: fiddle with --- .gitea/workflows/modzip.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index b417860..23d0444 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -4,8 +4,12 @@ on: [push] jobs: Assemble-Zip: - runs-on: python3.11 + runs-on: ubuntu-latest steps: + - name: "install python 3.11" + uses: actions/setup-python@v5 + with: + python-version: "3.11" - name: "install pip" run: |- apt update -y && apt install pipenv -y -- 2.45.2 From a75813601db23e60ae5cc910b4d7a63c9022ed10 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Tue, 19 Dec 2023 15:39:27 +0000 Subject: [PATCH 09/13] actions: fiddle with --- .gitea/workflows/modzip.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index 23d0444..b1e6251 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -9,8 +9,8 @@ jobs: - name: "install python 3.11" uses: actions/setup-python@v5 with: - python-version: "3.11" - - name: "install pip" + python-version: "3.10" + - name: "install pipenv" run: |- apt update -y && apt install pipenv -y - name: "checkout" -- 2.45.2 From 937f1c583284923c9884618de268265752f9c6a4 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Tue, 19 Dec 2023 15:46:16 +0000 Subject: [PATCH 10/13] actions: fiddle with python --- .gitea/workflows/modzip.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index b1e6251..26ad5b5 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -9,7 +9,7 @@ jobs: - name: "install python 3.11" uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11.7" - name: "install pipenv" run: |- apt update -y && apt install pipenv -y -- 2.45.2 From f2cfa0ba9cc4ebdefcc22186ea3a4a0c9b11045c Mon Sep 17 00:00:00 2001 From: Aleksey Date: Tue, 19 Dec 2023 15:50:08 +0000 Subject: [PATCH 11/13] actions: fiddle with python --- .gitea/workflows/modzip.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index 26ad5b5..b968203 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -4,7 +4,7 @@ on: [push] jobs: Assemble-Zip: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: "install python 3.11" uses: actions/setup-python@v5 -- 2.45.2 From 61681275ed957ecd068e6de5b87109532d36aefa Mon Sep 17 00:00:00 2001 From: Aleksey Date: Tue, 19 Dec 2023 15:53:31 +0000 Subject: [PATCH 12/13] actions: fiddle with python --- .gitea/workflows/modzip.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index b968203..26ad5b5 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -4,7 +4,7 @@ on: [push] jobs: Assemble-Zip: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: "install python 3.11" uses: actions/setup-python@v5 -- 2.45.2 From bb94d4c905dda82a878f0405bd5e33ac6c7ace49 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Tue, 19 Dec 2023 15:58:15 +0000 Subject: [PATCH 13/13] actions: fiddle with python --- .gitea/workflows/modzip.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/modzip.yaml b/.gitea/workflows/modzip.yaml index 26ad5b5..aa9e4bb 100644 --- a/.gitea/workflows/modzip.yaml +++ b/.gitea/workflows/modzip.yaml @@ -12,7 +12,7 @@ jobs: python-version: "3.11.7" - name: "install pipenv" run: |- - apt update -y && apt install pipenv -y + python -m pip install pipenv - name: "checkout" uses: actions/checkout@v3 - name: "setup pipenv environment" -- 2.45.2