aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-02-07 01:25:46 +0800
committershedaniel <daniel@shedaniel.me>2021-02-15 17:39:25 +0800
commitc49a19add5c939e3ad3331a86df4819c9141de9a (patch)
tree2e0af014483d5836592de256d7d619d1452298e6 /.github/workflows
parentdc92d0a4d262b633e9f322def3e89ab1a05417ab (diff)
downloadRoughlyEnoughItems-c49a19add5c939e3ad3331a86df4819c9141de9a.tar.gz
RoughlyEnoughItems-c49a19add5c939e3ad3331a86df4819c9141de9a.tar.bz2
RoughlyEnoughItems-c49a19add5c939e3ad3331a86df4819c9141de9a.zip
Switch to my maven
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/curseforge.yml11
1 files changed, 8 insertions, 3 deletions
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