aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/curseforge.yml
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-05-09 02:42:49 +0800
committershedaniel <daniel@shedaniel.me>2020-05-09 02:42:49 +0800
commit928e907cd27353cd72641f2adc7f92fe2ce38fac (patch)
treeee8d655dd9970deb302f6b4d7ebd5affcd64cea5 /.github/workflows/curseforge.yml
parentc27630f0c0eb7e5084f28139aaf2ba45ff3a7e23 (diff)
downloadRoughlyEnoughItems-928e907cd27353cd72641f2adc7f92fe2ce38fac.tar.gz
RoughlyEnoughItems-928e907cd27353cd72641f2adc7f92fe2ce38fac.tar.bz2
RoughlyEnoughItems-928e907cd27353cd72641f2adc7f92fe2ce38fac.zip
Trying to fix GitHub Actions
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to '.github/workflows/curseforge.yml')
-rw-r--r--.github/workflows/curseforge.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/curseforge.yml b/.github/workflows/curseforge.yml
index c8721ec76..9ac5d9de1 100644
--- a/.github/workflows/curseforge.yml
+++ b/.github/workflows/curseforge.yml
@@ -9,14 +9,20 @@ on:
jobs:
build:
runs-on: ubuntu-latest
+ if: "!contains(github.event.head_commit.message, 'ci skip')"
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 releaseOnCf --refresh-dependencies --stacktrace
+ - name: Clean Gradle
+ run: ./gradlew clean --refresh-dependencies --stacktrace
env:
danielshe_curse_api_key: ${{ secrets.CF_API_KEY }}
- BRANCH_NAME: ${{ github.ref }} \ No newline at end of file
+ BRANCH_NAME: ${{ github.ref }}
+ - name: Upload to CurseForge
+ run: ./gradlew build releaseOnCf --stacktrace
+ env:
+ danielshe_curse_api_key: ${{ secrets.CF_API_KEY }}
+ BRANCH_NAME: ${{ github.ref }} \ No newline at end of file