Skip to content

Commit

Permalink
Assemble only release version
Browse files Browse the repository at this point in the history
  • Loading branch information
AChep committed Feb 27, 2021
1 parent 62cad5f commit 9af4c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
- id: vars
run: |
echo ::set-output name=tag::${GITHUB_REF:10}
- name: "./gradlew assemble"
- name: "./gradlew assembleRelease"
uses: eskatos/gradle-command-action@v1
env:
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
with:
arguments: "assemble -Pversion=${{ steps.vars.outputs.tag }}"
arguments: "assembleRelease -Pversion=${{ steps.vars.outputs.tag }}"
- name: "Create release"
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 9af4c8c

Please sign in to comment.