parent
68471bc30f
commit
8fabbfef8c
2 changed files with 12 additions and 2 deletions
12
.github/workflows/desktop-release.yml
vendored
12
.github/workflows/desktop-release.yml
vendored
|
@ -23,6 +23,14 @@ jobs:
|
|||
- name: Build with Gradle
|
||||
run: ./gradlew desktop:dist
|
||||
|
||||
- name: Define env vars
|
||||
id: vars
|
||||
run: |
|
||||
echo ::set-output name=jar_file::\
|
||||
$(echo ./desktop/build/libs/*.jar)
|
||||
echo ::set-output name=version::\
|
||||
$(echo ./desktop/build/libs/*.jar | grep -Po -- '(?<=-)(.+?)(?=\.jar)')
|
||||
|
||||
- name: Create release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
|
@ -40,6 +48,6 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./desktop/build/libs/*.jar
|
||||
asset_name: Klooni-${{ github.ref }}.jar
|
||||
asset_path: ${{ steps.vars.outputs.jar_file }}
|
||||
asset_name: Klooni-${{ steps.vars.outputs.version }}.jar
|
||||
asset_content_type: application/java-archive
|
||||
|
|
|
@ -4,6 +4,8 @@ Play 1010! for free! Add your own themes! Contribute! Make the game yours!
|
|||
|
||||
[<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="80">](https://f-droid.org/app/dev.lonami.klooni)
|
||||
|
||||
(Desktop builds are available on the [releases page](https://github.com/LonamiWebs/Klooni1010/releases).)
|
||||
|
||||
This project is licensed under [GPLv3+](LICENSE).
|
||||
|
||||
**Table of contents**:
|
||||
|
|
Loading…
Reference in a new issue