aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/curseforge.yml
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2024-07-20 18:39:18 +0900
committershedaniel <daniel@shedaniel.me>2024-07-20 18:40:38 +0900
commit2d7389aa03f9a6bad7b5e7b81456acb5f9d358e9 (patch)
tree436e12342250e26296166479c33902cd8e1ff713 /.github/workflows/curseforge.yml
parentdeb29135ec13b735f18695deb6ffccc49a74c9db (diff)
downloadRoughlyEnoughItems-4.x.tar.gz
RoughlyEnoughItems-4.x.tar.bz2
RoughlyEnoughItems-4.x.zip
Check slots before modification4.x
Diffstat (limited to '.github/workflows/curseforge.yml')
-rw-r--r--.github/workflows/curseforge.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/curseforge.yml b/.github/workflows/curseforge.yml
index 9b3bb16bf..40ce36ec3 100644
--- a/.github/workflows/curseforge.yml
+++ b/.github/workflows/curseforge.yml
@@ -13,17 +13,19 @@ jobs:
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v1
- - name: Set up JDK 1.8
+ - name: Set up JDK 16
uses: actions/setup-java@v1
with:
- java-version: 1.8
+ java-version: 16
- name: Clean Gradle
run: ./gradlew clean --refresh-dependencies --stacktrace
env:
danielshe_curse_api_key: ${{ secrets.CF_API_KEY }}
BRANCH_NAME: ${{ github.ref }}
+ MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
- name: Upload to CurseForge
- run: ./gradlew build releaseOnCf --stacktrace
+ run: ./gradlew build releaseOnCf publish --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