From 6276ba58d7399f934f798000319724aa05c871de Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Sat, 6 Jan 2024 22:13:05 +0100 Subject: [PATCH 1/5] Update .gitea/workflows/ci.yml --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 713ffe2..6f69810 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: java: [ '17' ] os: [ ubuntu-latest ] runs-on: ${{ matrix.os }} - if: gitea.ref == 'refs/heads/master' + if: gitea.ref == 'refs/heads/master' && gitea.event_name == 'push' needs: build steps: - name: checkout repository From 4731cc5698d420a0bd00063d059c3b3e6a48cfb0 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Sat, 6 Jan 2024 22:28:57 +0100 Subject: [PATCH 2/5] Update .gitea/workflows/ci.yml --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 6f69810..8fd4b8e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: java: [ '17' ] os: [ ubuntu-latest ] runs-on: ${{ matrix.os }} - if: gitea.ref == 'refs/heads/master' && gitea.event_name == 'push' + if: ${{ gitea.ref == 'refs/heads/master' && gitea.event_name == 'push' }} needs: build steps: - name: checkout repository From 6fc944eb4aeb0007be866c9acfeb90897f50bb33 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Sat, 6 Jan 2024 22:58:46 +0100 Subject: [PATCH 3/5] Update .gitea/workflows/ci.yml --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8fd4b8e..490ef83 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,7 +7,7 @@ name: Test and Deploy on: push: branches: [ master, dev ] - pull_request_target: + pull_request: branches: [ master, dev ] env: From f982e497fe2cadc40c96b532cca3df2f07292e41 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Sun, 7 Jan 2024 00:57:32 +0100 Subject: [PATCH 4/5] Forgot to add an env instruction... --- .gitea/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 490ef83..a03de0b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -67,6 +67,8 @@ jobs: run: ./gradlew publish - name: create tag run: ./gradlew createTag + env: + GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} - name: Report to Discord run: ./gradlew reportToDiscord From 427fc4cea6c7951623953eea01300a88076d0a8c Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Sun, 7 Jan 2024 01:24:09 +0100 Subject: [PATCH 5/5] Update gradle.properties --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 77850df..ed82a78 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ loader_version=0.15.3 fabric_version=0.91.3+1.20.2 maven_group=fr.altarik.toolbox -maven_version=4.3.2-SNAPSHOT +maven_version=4.4.0 git_owner=quentinlegot git_repo=Toolbox \ No newline at end of file