We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d6d38e commit c330e19Copy full SHA for c330e19
.github/workflows/release.yml
@@ -11,13 +11,10 @@ jobs:
11
- name: Run tests
12
run: ./gradlew clean test --info
13
- name: Set github tag
14
- id: github
+ id: var
15
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
16
- - name: Set short git hash
17
- id: git
18
- run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
19
- name: Build artifacts
20
- run: ./gradlew -Penv=production -Prelease=${{ steps.github.outputs.tag }} -Phash=${{ steps.git.outputs.sha_short }} clean assemble
+ run: ./gradlew -Penv=production -Prelease=${{ steps.var.outputs.tag }} clean assemble
21
- uses: ncipollo/release-action@v1
22
with:
23
artifacts: "build/distributions/sdkman-cli-*.zip"
0 commit comments