Update version (#39) #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to GH packages | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
- '[0-9]+.[0-9]+.[0-9]+-[a-z]+[0-9]+' | |
env: | |
GH_USERNAME: ${{ secrets.REVOLVER_CI_USERNAME }} | |
GH_TOKEN: ${{ secrets.REVOLVER_REPOSITORY_CI_TOKEN }} | |
jobs: | |
publish: | |
name: Publish to GH packages | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
cache-read-only: true | |
- name: Build and publish package to GH registry | |
run: ./gradlew --profile clean publishAllPublicationsToGitHubPackagesRepository | |
- name: Upload profile reports | |
uses: actions/upload-artifact@v4 | |
with: | |
name: profile-report | |
path: build/reports/profile/ | |
retention-days: 3 |