Skip to content

Added links to spec #68

Added links to spec

Added links to spec #68

name: Publish snapshots
on:
push:
branches:
- 'develop'
permissions: read-all
jobs:
test:

Check failure on line 11 in .github/workflows/publish-snapshots.yml

View workflow run for this annotation

GitHub Actions / Publish snapshots

Invalid workflow file

The workflow is not valid. .github/workflows/publish-snapshots.yml (Line: 11, Col: 3): Error calling workflow 'ical4j/ical4j/.github/workflows/test.yml@develop'. The nested job 'test' is requesting 'checks: write, pull-requests: write', but is only allowed 'checks: read, pull-requests: read'.
uses: ical4j/ical4j/.github/workflows/test.yml@develop
publish:
name: Publish Artifact
needs: test
if: ${{ needs.test.result == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: ./gradlew build -x test publish
env:
GPR_USERNAME: benfortuna
GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}