diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-04-21 12:52:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 12:52:06 +0200 |
commit | ff2543971485c5b7b6d871975e9d24f93544c126 (patch) | |
tree | f8d7fd22ee742d4caaadf5cd846baa2b35c7bcfb /.github/workflows | |
parent | 83d76405cf9dc73000e5529f7ae0614db6c160c7 (diff) | |
download | parquet-ff2543971485c5b7b6d871975e9d24f93544c126.tar.gz |
Update gradle.yml
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/gradle.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 881ef2d..ae42815 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -35,6 +35,9 @@ jobs: release_name: Release ${{ github.ref }} draft: false prerelease: true + - name: Get the version + id: get_version + run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Upload Release Asset id: upload-release-asset uses: actions/upload-release-asset@v1 @@ -42,6 +45,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./libs/build/parquet-${GITHUB_REF##*/}.jar - asset_name: parquet-${GITHUB_REF##*/}.jar + asset_path: ./libs/build/parquet-${{ steps.get_version.outputs.VERSION }}.jar + asset_name: parquet-${{ steps.get_version.outputs.VERSION }}.jar asset_content_type: application/jar |