Skip to content

Commit

Permalink
Update buildRelease.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MoSadie committed Nov 4, 2021
1 parent 2dd638c commit 0a4cfe4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/buildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Get tag name
uses: olegtarasov/get-tag@v1
uses: olegtarasov/[email protected]
id: getTag
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build -Pversion="${{ env.GITHUB_TAG_NAME }}"
run: ./gradlew build -Pversion="${{ steps.getTag.outputs.tag }}"
- name: Get Release Upload URL
uses: actions/[email protected]
with:
Expand All @@ -33,6 +34,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ env.UPLOADURL }}
asset_path: ./build/libs/ExponentialPower-${{ env.GITHUB_TAG_NAME }}.jar
asset_name: ExponentialPower-${{ env.GITHUB_TAG_NAME }}.jar
asset_path: ./build/libs/ExponentialPower-${{ steps.getTag.outputs.tag }}.jar
asset_name: ExponentialPower-${{ steps.getTag.outputs.tag }}.jar
asset_content_type: application/java-archive

0 comments on commit 0a4cfe4

Please sign in to comment.