File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,17 @@ jobs:
1212 - uses : actions/checkout@v2
1313 - name : Run tests
1414 run : ./gradlew clean test --info
15- - name : Set github tag
16- id : github
17- run : echo ::set-output name=tag::${GITHUB_REF#refs/*/}
1815 - name : Set short git hash
19- id : git
16+ id : var
2017 run : echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
2118 - name : Build artifacts
22- run : ./gradlew -Penv=production -Prelease=${{ steps.github.outputs.tag }} - Phash=${{ steps.git .outputs.sha_short }} clean assemble
19+ run : ./gradlew -Penv=production -Phash=${{ steps.var .outputs.sha_short }} clean assemble
2320 - name : Release
2421 uses : " marvinpinto/action-automatic-releases@latest"
2522 with :
2623 repo_token : " ${{ secrets.GITHUB_TOKEN }}"
2724 automatic_release_tag : " latest"
2825 prerelease : true
29- title : " Development Build "
26+ title : " Beta release "
3027 files : |
3128 build/distributions/sdkman-cli-*.zip
You can’t perform that action at this time.
0 commit comments