Move upload zip earlier / Fix SDKman task
@@ -31,8 +31,17 @@ 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 bintrayUpload docs publish closeAndReleaseRepository
- run: echo $GPG_FILE | base64 -d > secring.gpg && ./gradlew bintrayUpload docs
+ run: echo $GPG_FILE | base64 -d > secring.gpg && ./gradlew bintrayUpload docs publish closeAndReleaseRepository
+ - name: Upload CLI Zip
+ id: upload-release-asset
+ uses: actions/upload-release-asset@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ github.event.release.upload_url }}
+ asset_path: starter-cli/build/distributions/micronaut-cli-${{ steps.release_version.outputs.release_version }}.zip
+ asset_name: micronaut-cli-${{ steps.release_version.outputs.release_version }}.zip
+ asset_content_type: application/zip
- name: Publish to Github Pages
if: success()
uses: micronaut-projects/github-pages-deploy-action@master
@@ -49,17 +58,10 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: SDKMAN release
- run: ./gradlew sdkMinorRelease --no-daemon
- - name: Upload CLI Zip
- id: upload-release-asset
- uses: actions/upload-release-asset@v1
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- upload_url: ${{ github.event.release.upload_url }}
- asset_path: starter-cli/build/distributions/micronaut-cli-${{ steps.release_version.outputs.release_version }}.zip
- asset_name: micronaut-cli-${{ steps.release_version.outputs.release_version }}.zip
- asset_content_type: application/zip
+ GVM_SDKVENDOR_KEY: ${{ secrets.GVM_SDKVENDOR_KEY }}
+ GVM_SDKVENDOR_TOKEN: ${{ secrets.GVM_SDKVENDOR_TOKEN }}
+ run: ./gradlew sdkMinorRelease --no-daemon
linux:
name: Release Linux Native CLI
runs-on: ubuntu-latest
