Skip to content

Lint and build code, and publish artifacts to repository #63

Lint and build code, and publish artifacts to repository

Lint and build code, and publish artifacts to repository #63

Workflow file for this run

name: Publish
on:
create:
tags:
- '^[0-9]+\.[0-9]+\.[0-9]+$'
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Adopt OpenJDK 17
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Publish to GitHub Packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
GITHUB_ACCESS_TOKEN_READ_PACKAGES: ${{ secrets.ACCESS_TOKEN_READ_PACKAGES }}
shell: sh
run: |
sh gradlew --no-daemon publishAllPublicationsToAirthingsGitHubPackagesRepository