Skip to content

Use correct env var names #17

Use correct env var names

Use correct env var names #17

Workflow file for this run

name: "Lint and build code"
on:
push:
branches:
- "**"
- "!main"
env:
PUBLISH_GITHUB_USERNAME: ${{ secrets.GITHUB_ACTOR }}
PUBLISH_GITHUB_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: "Clone code"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Lint code"
uses: ./.github/actions/lint
build:
needs: lint
runs-on: macos-latest
steps:
- name: "Clone code"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Set up Adopt OpenJDK 17"
uses: ./.github/actions/java
- name: "Validate Gradle wrapper"
uses: gradle/wrapper-validation-action@v1
- name: "Build code"
shell: sh
run: sh gradlew build