Skip to content

Commit

Permalink
trying different action for manual publish
Browse files Browse the repository at this point in the history
  • Loading branch information
musketyr committed May 19, 2022
1 parent 9f23dca commit e6c6c29
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/publish-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Manual Publish Documentation
on: workflow_dispatch

jobs:
release:
name: Release
publish:
name: Publish Documentation
runs-on: ubuntu-latest
env:
GRADLE_OPTS: "-Xmx6g -Xms4g"
Expand All @@ -16,10 +16,13 @@ jobs:
distribution: corretto
java-version: 8
cache: gradle
- name: Get the Latest Release
id: previoustag
uses: WyriHaximus/github-action-get-previous-tag@v1
- name: Publish Docs
- name: Get Latest Release
id: latest_version
uses: abatilo/release-info-action@v1.3.0
with:
owner: agorapulse
repo: micronaut-worker
- name: Publish GitHub Pages
uses: eskatos/gradle-command-action@v2
with:
arguments: migrateImports gitPublishPush -x groovydoc -x aggregateGroovydoc -Pversion=${{ steps.previoustag.outputs.tag }}-micronaut-3.0 -Prelease=true --stacktrace -PmicronautVersion=3.2.3 -PspockVersion=2.0-groovy-3.0 -PgroovyVersion=3.0.9 -Dorg.ajoberstar.grgit.auth.username=${{ secrets.AGORAPULSE_BOT_PERSONAL_TOKEN }}
arguments: migrateImports gitPublishPush -x groovydoc -x aggregateGroovydoc -Pversion=${{ steps.latest_version.outputs.latest_tag }}-micronaut-3.0 -Prelease=true --stacktrace -PmicronautVersion=3.2.3 -PspockVersion=2.0-groovy-3.0 -PgroovyVersion=3.0.9 -Dorg.ajoberstar.grgit.auth.username=${{ secrets.AGORAPULSE_BOT_PERSONAL_TOKEN }}

0 comments on commit e6c6c29

Please sign in to comment.