Skip to content

Update publish.yml

Update publish.yml #5

Workflow file for this run

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:
env:
SIGN_KEYSTORE_DATA: ${{ secrets.SIGN_KEYSTORE_DATA }}
uses: ./.github/workflows/shared/gradle.yml

Check failure on line 24 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
with:
java: 8
gradle_tasks: "publish"
artifact_name: "installertools"
gradle_setup: |-
export SIGN_KEY_ALIAS=${{ secrets.SIGN_KEY_ALIAS }}
export SIGN_KEY_PASSWORD=${{ secrets.SIGN_KEY_PASSWORD }}
export SIGN_KEYSTORE_PASSWORD=${{ secrets.SIGN_KEYSTORE_PASSWORD }}
export SIGN_KEYSTORE_DATA=${{ secrets.SIGN_KEYSTORE_DATA }}
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
PROMOTE_ARTIFACT_WEBHOOK: ${{ secrets.PROMOTE_ARTIFACT_WEBHOOK }}
PROMOTE_ARTIFACT_USERNAME: ${{ secrets.PROMOTE_ARTIFACT_USERNAME }}
PROMOTE_ARTIFACT_PASSWORD: ${{ secrets.PROMOTE_ARTIFACT_PASSWORD }}
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}