Preparing for the first release
@@ -21,12 +21,10 @@ jobs:
run: |
upload_url=`cat $GITHUB_EVENT_PATH | jq '.release.upload_url' | sed -e 's/^"\(.*\)"$/\1/g'`
echo ::set-output name=upload_url::${upload_url}
- - name: Build ZIP
- run: ./gradlew cliZip
-# - name: Run pre-release
-# uses: micronaut-projects/github-actions/pre-release@master
-# with:
-# token: ${{ secrets.GITHUB_TOKEN }}
+ - name: Run pre-release
+ uses: micronaut-projects/github-actions/pre-release@master
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to Bintray and Sonatype OSSRH
env:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
@@ -36,22 +34,22 @@ jobs:
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
GPG_FILE: ${{ secrets.GPG_FILE }}
- run: echo $GPG_FILE | base64 -d > secring.gpg && ./gradlew --dry-run bintrayUpload docs publish closeAndReleaseRepository
-# - name: Publish to Github Pages
-# if: success()
-# uses: micronaut-projects/github-pages-deploy-action@master
-# env:
-# BETA: ${{ contains(steps.release_version.outputs.release_version, 'M') || contains(steps.release_version.outputs.release_version, 'RC') }}
-# GH_TOKEN: ${{ secrets.GH_TOKEN }}
-# BASE_BRANCH: master
-# BRANCH: gh-pages
-# FOLDER: build/docs
-# VERSION: ${{ steps.release_version.outputs.release_version }}
-# - name: Run post-release
-# if: success()
-# uses: micronaut-projects/github-actions/post-release@master
-# with:
-# token: ${{ secrets.GITHUB_TOKEN }}
+ run: echo $GPG_FILE | base64 -d > secring.gpg && ./gradlew bintrayUpload docs publish closeAndReleaseRepository
+ - name: Publish to Github Pages
+ if: success()
+ uses: micronaut-projects/github-pages-deploy-action@master
+ env:
+ BETA: ${{ contains(steps.release_version.outputs.release_version, 'M') || contains(steps.release_version.outputs.release_version, 'RC') }}
+ GH_TOKEN: ${{ secrets.GH_TOKEN }}
+ BASE_BRANCH: master
+ BRANCH: gh-pages
+ FOLDER: build/docs
+ VERSION: ${{ steps.release_version.outputs.release_version }}
+ - name: Run post-release
+ if: success()
+ uses: micronaut-projects/github-actions/post-release@master
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
- name: SDKMAN release
run: ./gradlew --dry-run sdkMajorRelease --no-daemon
- name: Upload CLI Zip
