Skip to content

A tad of testing

A tad of testing #10

Workflow file for this run

name: Publish
on:
push:
branches: [ "main" ]
permissions:
contents: read
statuses: write
jobs:
build:
uses: ForgeForce/ActionsTest/.github/workflows/gradle_template.yml@main
with:
java: 17
gradle_tasks: "publish -Pabc=${{ secrets.DISCORD_WEBHOOK }}"

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

View workflow run for this annotation

GitHub Actions / Publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 16, Col: 21): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.DISCORD_WEBHOOK
# version_task: 'outputVersion'
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}