Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Nov 5, 2023
1 parent 2f2083c commit 5a3ac19
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,25 @@ name: Publish
on:
push:
branches: [ "master" ]
workflow_call:
secrets:
SIGN_KEY_ALIAS:
required: true
SIGN_KEY_PASSWORD:
required: true
SIGN_KEYSTORE_PASSWORD:
required: true
SIGN_KEYSTORE_DATA:
required: true

permissions:
contents: read

jobs:
build:
uses: MinecraftForge/SharedActions/.github/workflows/gradle.yml@main
env:
SIGN_KEYSTORE_DATA: ${{ secrets.SIGN_KEYSTORE_DATA }}
uses: ./.github/workflows/shared/gradle.yml
with:
java: 8
gradle_tasks: "publish"
Expand Down

0 comments on commit 5a3ac19

Please sign in to comment.