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