aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-03-06 04:18:21 +0800
committershedaniel <daniel@shedaniel.me>2020-03-06 04:18:21 +0800
commit12223ae029f3d206ebb19ba0cd134e3c36827315 (patch)
tree85c1743dfb0855aef23855a92240279a0a019eec /.github
parent2bf1e9f370a4c52a61575f0405425a51c670abed (diff)
downloadRoughlyEnoughItems-12223ae029f3d206ebb19ba0cd134e3c36827315.tar.gz
RoughlyEnoughItems-12223ae029f3d206ebb19ba0cd134e3c36827315.tar.bz2
RoughlyEnoughItems-12223ae029f3d206ebb19ba0cd134e3c36827315.zip
3.0.7
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/curseforge.yml21
-rw-r--r--.github/workflows/gradle.yml2
2 files changed, 21 insertions, 2 deletions
diff --git a/.github/workflows/curseforge.yml b/.github/workflows/curseforge.yml
new file mode 100644
index 000000000..63e2eea4c
--- /dev/null
+++ b/.github/workflows/curseforge.yml
@@ -0,0 +1,21 @@
+name: Java CI
+
+on:
+ push:
+ branches:
+ - 3.x
+ - 4.x-unstable
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - name: Upload to CurseForge
+ run: ./gradlew clean build curseforge --refresh-dependencies --stacktrace
+ env:
+ CF_API_KEY: ${{ secrets.CF_API_KEY }}
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 49d95f07e..05923562f 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -4,9 +4,7 @@ on: [push]
jobs:
build:
-
runs-on: ubuntu-latest
-
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8