From c49a19add5c939e3ad3331a86df4819c9141de9a Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sun, 7 Feb 2021 01:25:46 +0800 Subject: Switch to my maven Signed-off-by: shedaniel --- .github/workflows/curseforge.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/curseforge.yml b/.github/workflows/curseforge.yml index fa5650132..00aa6971a 100644 --- a/.github/workflows/curseforge.yml +++ b/.github/workflows/curseforge.yml @@ -2,6 +2,10 @@ name: CF CI on: push: + paths: + - '**.gradle' + - '**.properties' + - '**/src/**' branches: - 3.x - 4.x-unstable @@ -23,8 +27,9 @@ jobs: env: danielshe_curse_api_key: ${{ secrets.CF_API_KEY }} BRANCH_NAME: ${{ github.ref }} - - name: Upload to CurseForge - run: ./gradlew build releaseOnCf --stacktrace + - name: Upload to CurseForge and Maven + run: ./gradlew build publish releaseOnCf --stacktrace env: danielshe_curse_api_key: ${{ secrets.CF_API_KEY }} - BRANCH_NAME: ${{ github.ref }} \ No newline at end of file + BRANCH_NAME: ${{ github.ref }} + MAVEN_PASS: ${{ secrets.MAVEN_PASS }} \ No newline at end of file -- cgit