From 30cdf291a60cf72e1008118674b778391ba8f4d9 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Oct 2023 15:41:44 +0000 Subject: [PATCH 1/4] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/build.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index afdd9e0..2bfd98c 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -1,5 +1,8 @@ name: build -on: [ pull_request, push ] +on: + pull_request + push + workflow_dispatch: {} jobs: build: From a1b720f9188fb1cbb59444bff4a03669dda44a50 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Oct 2023 15:42:19 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/build.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2bfd98c..ac2c338 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -1,7 +1,7 @@ name: build on: - pull_request - push + pull_request: {} + push: {} workflow_dispatch: {} jobs: From 8a31930866498e3fc12104f42633854106248e01 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Oct 2023 16:03:56 +0000 Subject: [PATCH 3/4] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20build.gradle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 86fe39d..f643a39 100644 --- a/build.gradle +++ b/build.gradle @@ -10,8 +10,7 @@ targetCompatibility = JavaVersion.VERSION_17 archivesBaseName = project.archives_base_name group = project.maven_group -//String buildNumber = System.getenv("GITHUB_RUN_NUMBER") -String buildNumber = 4 +String buildNumber = System.getenv("GITEA_RUN_NUMBER") version = "${mod_version}+${minecraft_version}" + (buildNumber != null ? "-${buildNumber}" : "") repositories { From 82e8b27221970e4d5a9bff99b706e7a3093b4db3 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Oct 2023 16:05:53 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/build.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index ac2c338..94975bb 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -12,14 +12,14 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout repository - uses: actions/checkout@v2 + uses: https://git.bitheaven.ru/actions/checkout@v2 - name: setup jdk ${{ matrix.java }} - uses: actions/setup-java@v1 + uses: https://git.bitheaven.ru/actions/setup-java@v1 with: java-version: ${{ matrix.java }} - - uses: actions/cache@v2 + - uses: https://git.bitheaven.ru/actions/cache@v2 with: path: | ~/.gradle/caches @@ -35,7 +35,7 @@ jobs: run: ./gradlew build - name: capture build artifacts - uses: actions/upload-artifact@v2 + uses: https://git.bitheaven.ru/actions/upload-artifact@v2 with: name: Artifacts path: build/libs/