Skip to content

Commit

Permalink
Added CurseForge publish to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurocosh authored Jun 9, 2024
1 parent a19d0f3 commit 3ef256a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
pull_request:
branches: [ "master" ]

env:
ANOTHER_VAR: ${{ secrets.CURSEFORGE_API_KEY }}

jobs:
build:

Expand Down Expand Up @@ -46,6 +49,9 @@ jobs:
- name: Build with Gradle Wrapper
run: ./gradlew build

- name: Publish on CurseForge
run: ./gradlew curseforge

# NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
# If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version.
#
Expand All @@ -61,4 +67,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: divine-favor
path: build/libs
path: build/libs

0 comments on commit 3ef256a

Please sign in to comment.