Skip to content

Commit

Permalink
Fix version extraction in gh-actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoathaydes committed Apr 8, 2020
1 parent 4413c79 commit 7ab4750
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ jobs:
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ steps.get_version.outputs.VERSION }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: build/logfx-${{ VERSION }}.zip
asset_name: logfx-${{ VERSION }}-linux.zip
asset_path: build/logfx-${{ steps.get_version.outputs.VERSION }}.zip
asset_name: logfx-${{ steps.get_version.outputs.VERSION }}-linux.zip
asset_content_type: application/zip
build-mac:
runs-on: macos-latest
Expand All @@ -55,11 +54,10 @@ jobs:
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ steps.get_version.outputs.VERSION }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: build/logfx-${{ VERSION }}.zip
asset_name: logfx-${{ VERSION }}-mac.zip
asset_path: build/logfx-${{ steps.get_version.outputs.VERSION }}.zip
asset_name: logfx-${{ steps.get_version.outputs.VERSION }}-mac.zip
asset_content_type: application/zip
build-win:
runs-on: windows-latest
Expand All @@ -84,9 +82,8 @@ jobs:
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ steps.get_version.outputs.VERSION }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: build/logfx-${{ VERSION }}.zip
asset_name: logfx-${{ VERSION }}-windows.zip
asset_path: build/logfx-${{ steps.get_version.outputs.VERSION }}.zip
asset_name: logfx-${{ steps.get_version.outputs.VERSION }}-windows.zip
asset_content_type: application/zip
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

group 'com.athaydes.logfx'
version '1.0-RC8'
version '1.0-RC9'
description 'A beautiful log viewer capable of handling large files'

sourceCompatibility = JavaVersion.VERSION_11
Expand Down

0 comments on commit 7ab4750

Please sign in to comment.