Skip to content

Fix YAML for ea workflow (#317) #55

Fix YAML for ea workflow (#317)

Fix YAML for ea workflow (#317) #55

Workflow file for this run

name: GCToolKit Pre-release Notes
on:
push:
branches: [ main ]
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.event.head_commit.message, '[maven-release-plugin]') != true
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up JDK 11
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
java-version: 11

Check failure on line 19 in .github/workflows/early_access.yml

View workflow run for this annotation

GitHub Actions / GCToolKit Pre-release Notes

Invalid workflow file

The workflow is not valid. .github/workflows/early_access.yml (Line: 19, Col: 7): Unexpected value 'java-version' .github/workflows/early_access.yml (Line: 20, Col: 7): Unexpected value 'distribution'
distribution: 'microsoft'
cache: 'maven'
- name: Build with Maven
run: ./mvnw -B verify --file pom.xml
- name: Git-release
run: |
./mvnw -B -pl :gctoolkit -Pjreleaser jreleaser:release
env:
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}